Change nobody to dynamic user

This commit is contained in:
Gabriel Huber 2025-05-15 14:57:34 +02:00
parent 16c325faa4
commit 6c427ccd98

View file

@ -3,8 +3,7 @@ Description=XMPP preview bot
After=prosody.service After=prosody.service
[Service] [Service]
User=nobody DynamicUser=yes
Group=nobody
WorkingDirectory=/opt/previewbot WorkingDirectory=/opt/previewbot
ExecStart=/usr/bin/python3 previewbot.py ExecStart=/usr/bin/python3 previewbot.py