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
This commit is contained in:
Konstantin Pavlov
2019-09-25 16:18:19 +03:00
parent 3644883aa8
commit 919230a21e

View File

@@ -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}