summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2019-09-25 16:18:19 +0300
committerKonstantin Pavlov <thresh@nginx.com>2019-09-25 16:18:19 +0300
commit919230a21e9d5f2b6edcf99e1938707d487639a2 (patch)
treefc2ae75c8c92349000214a3f386f433535a2aae5
parent3644883aa8f87a54fcbca1dfc737e40e12e18a19 (diff)
downloadunit-919230a21e9d5f2b6edcf99e1938707d487639a2.tar.gz
unit-919230a21e9d5f2b6edcf99e1938707d487639a2.tar.bz2
Packaging: debian: changed NAME in the init script
This fixes the following issues: - inability to stop unit daemon - default configuration from /etc/default/unit are not propagated to the daemon
Diffstat (limited to '')
-rw-r--r--pkg/deb/debian/unit.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/deb/debian/unit.init b/pkg/deb/debian/unit.init
index 2f573f99..93e9b731 100644
--- a/pkg/deb/debian/unit.init
+++ b/pkg/deb/debian/unit.init
@@ -13,7 +13,7 @@
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/unitd
-NAME=unitd
+NAME=unit
DESC=unitd
[ -r /etc/default/${NAME} ] && . /etc/default/${NAME}