mirror of
https://github.com/naruxde/revpipyload.git
synced 2025-11-09 07:28:03 +01:00
xml_plcupload um pictory-flags erweitert
docstrings defaultwerte geändert und für deb vorbereitet pythonversion für plc programm kann angegeben werden
This commit is contained in:
@@ -16,11 +16,18 @@
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||
DESC="RevPiPyLoad to run plc program"
|
||||
NAME=revpipyload
|
||||
DAEMON=/usr/share/revpipyload/revpipyload.py
|
||||
DAEMON_ARGS="-d"
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
# Check install dir
|
||||
if [ -d /usr/local/share/revpipyload ]
|
||||
then
|
||||
DAEMON=/usr/share/revpipyload/revpipyload.py
|
||||
else
|
||||
DAEMON=/usr/share/revpipyload/revpipyload.py
|
||||
fi
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user