Skip to content
Snippets Groups Projects
Commit dfdf95f0 authored by Hannes Feldt's avatar Hannes Feldt
Browse files

alter service

parent ab04b982
No related branches found
No related tags found
No related merge requests found
Pipeline #94952 failed
...@@ -15,11 +15,15 @@ ...@@ -15,11 +15,15 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="hwtr" DESC="hwtr"
NAME="" SERVICE=$(basename -- "$0")
NAME="${SERVICE##*.}"
DAEMON=/usr/bin/pypcc-hwtr DAEMON=/usr/bin/pypcc-hwtr
DAEMON_ARGS="" DAEMON_ARGS=""
PIDFILE=/var/run/$NAME.pid PIDFILE=/var/run/$NAME.pid
echo "$NAME"
exit
. /etc/init.d/functions || exit 1 . /etc/init.d/functions || exit 1
# Exit if the package is not installed # Exit if the package is not installed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment