diff options
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 |