Improve build process for Linux

This commit is contained in:
Marcelo Aquino
2016-08-17 23:42:27 -03:00
parent 4d431fbebb
commit b8d4a6a943
14 changed files with 438 additions and 170 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ Description=MySensors Gateway daemon
Requires=network.target
[Service]
ExecStart=%gateway_dir%/MySGateway
ExecStart=%gateway_dir%/mysGateway
[Install]
WantedBy=multi-user.target
+2 -2
View File
@@ -1,6 +1,6 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: MySGateway
# Provides: mysGateway
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
@@ -20,7 +20,7 @@
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
DESC="MySensors Gateway"
NAME=MySGateway
NAME=mysGateway
DAEMON=%gateway_dir%/$NAME
DAEMON_ARGS="-d"
PIDFILE=/var/run/$NAME.pid