Change nobody to dynamic user
This commit is contained in:
parent
16c325faa4
commit
6c427ccd98
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue