diff options
author | Andrei Belov <defan@nginx.com> | 2021-12-02 08:52:52 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2021-12-02 08:52:52 +0300 |
commit | 7edc5b82d5e48d5f5d06334af82b891b0ccc3add (patch) | |
tree | defc064b8c76411bc2e7bebfb6adeb0e871bf3c0 /pkg/deb/debian/unit-debug.service | |
parent | c6c74d117dee5ac747ae53ce7a1e75bb2b7470e1 (diff) | |
download | unit-7edc5b82d5e48d5f5d06334af82b891b0ccc3add.tar.gz unit-7edc5b82d5e48d5f5d06334af82b891b0ccc3add.tar.bz2 |
Packages: added systemd service for debug binary.
Diffstat (limited to '')
-rw-r--r-- | pkg/deb/debian/unit-debug.service | 14 |
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 |