diff options
author | Devaev Maxim <[email protected]> | 2019-02-17 04:20:43 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-17 04:20:43 +0300 |
commit | 45fa3da3d7f85536ce62f9b73a278ef8cf9b4086 (patch) | |
tree | c84f616320fe8ea418516b66690cb01fd7c222e9 /configs/os | |
parent | 10498811a646f833037d01ad7c816df9dea5a772 (diff) |
platform packages
Diffstat (limited to 'configs/os')
-rw-r--r-- | configs/os/systemd/kvmd-nginx.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/os/systemd/kvmd-nginx.service b/configs/os/systemd/kvmd-nginx.service new file mode 100644 index 00000000..ab223488 --- /dev/null +++ b/configs/os/systemd/kvmd-nginx.service @@ -0,0 +1,17 @@ +[Unit] +Description=Nginx instance for KVMD +After=network.target network-online.target nss-lookup.target kvmd.service + +[Service] +Type=forking +PIDFile=/run/kvmd-nginx.pid +PrivateDevices=yes +SyslogLevel=err + +ExecStart=/usr/bin/nginx -g 'pid /run/kvmd-nginx.pid; error_log stderr;' +ExecReload=/usr/bin/nginx -s reload -p /etc/kvmd/nginx +KillSignal=SIGQUIT +KillMode=mixed + +[Install] +WantedBy=multi-user.target |