summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian/unit-debug.service
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-12-02 18:42:23 +0300
committerAndrei Belov <defan@nginx.com>2021-12-02 18:42:23 +0300
commit7634ab0f21c712e79c5d09e5817f866ff71d4f49 (patch)
tree1c4b20be29a9372858088c9faa3f02e7f584402f /pkg/deb/debian/unit-debug.service
parent5dfde9717d9ef611072defdd211089efa920c728 (diff)
parent85908c09f9b7d8d0bd797427d984e2697ece8267 (diff)
downloadunit-7634ab0f21c712e79c5d09e5817f866ff71d4f49.tar.gz
unit-7634ab0f21c712e79c5d09e5817f866ff71d4f49.tar.bz2
Merged with the 1.26 branch.1.26.1-1
Diffstat (limited to 'pkg/deb/debian/unit-debug.service')
-rw-r--r--pkg/deb/debian/unit-debug.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/deb/debian/unit-debug.service b/pkg/deb/debian/unit-debug.service
new file mode 100644
index 00000000..252d8451
--- /dev/null
+++ b/pkg/deb/debian/unit-debug.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=NGINX Unit
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/unit.pid
+EnvironmentFile=-/etc/default/unit
+ExecStart=/usr/sbin/unitd-debug $DAEMON_ARGS
+ExecReload=
+
+[Install]
+WantedBy=multi-user.target