From 45fa3da3d7f85536ce62f9b73a278ef8cf9b4086 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 17 Feb 2019 04:20:43 +0300 Subject: platform packages --- configs/os/systemd/kvmd-nginx.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 configs/os/systemd/kvmd-nginx.service (limited to 'configs/os/systemd/kvmd-nginx.service') 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 -- cgit v1.2.3