Skip to content

Commit dd1e3f9

Browse files
committed
Use nobody user for systemd file instead of www-data
ippls does not need any extra privileges, therefore the 'nobody' user is a better choice.
1 parent 17d0f2f commit dd1e3f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ippls.service

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Description=gunicorn instance for ippls
88
After=network.target
99

1010
[Service]
11-
User=www-data
12-
Group=www-data
11+
User=nobody
1312
WorkingDirectory=/opt/ippls/src
1413
Environment="PATH=/opt/ippls/ipplsvenv/bin"
1514
ExecStart=/opt/ippls/ipplsvenv/bin/gunicorn --workers 3 --bind 127.0.0.1:5000 wsgi:app

0 commit comments

Comments
 (0)