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
[Service]
User=nobody
Group=nobody
DynamicUser=yes
WorkingDirectory=/opt/previewbot
ExecStart=/usr/bin/python3 previewbot.py