diff options
author | Devaev Maxim <[email protected]> | 2019-05-10 14:36:28 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-05-10 14:36:28 +0300 |
commit | 18fa69b77973b5db970797edc1f627e67904606e (patch) | |
tree | a117ca5329ec841e47dab0771a818b49c3ff8f06 /configs/os/systemd/kvmd-nginx.service | |
parent | 03c3caa35eeef059c950874fb291d6ee78d55568 (diff) |
improved users/groups
Diffstat (limited to 'configs/os/systemd/kvmd-nginx.service')
-rw-r--r-- | configs/os/systemd/kvmd-nginx.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/os/systemd/kvmd-nginx.service b/configs/os/systemd/kvmd-nginx.service index 6b318598..6da9fc1d 100644 --- a/configs/os/systemd/kvmd-nginx.service +++ b/configs/os/systemd/kvmd-nginx.service @@ -1,14 +1,14 @@ [Unit] -Description=Nginx instance for KVMD +Description=Pi-KVM - HTTP entrypoint After=network.target network-online.target nss-lookup.target kvmd.service [Service] Type=forking -PIDFile=/run/kvmd-nginx.pid +PIDFile=/run/kvmd/nginx.pid PrivateDevices=yes SyslogLevel=err -ExecStart=/usr/bin/nginx -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf -g 'pid /run/kvmd-nginx.pid; error_log stderr;' +ExecStart=/usr/bin/nginx -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf -g 'pid /run/kvmd/nginx.pid; user kvmd-nginx; error_log stderr;' ExecReload=/usr/bin/nginx -s reload -p /etc/kvmd/nginx -c /etc/kvmd/nginx/nginx.conf KillSignal=SIGQUIT KillMode=mixed |