JsonUtils & improvements (#476)

* add JsonUtils

* update

* repair

* update

* ident

* Schema correct msg other adjusts

* fix effDel, ExceptionLog, cleanup

* fix travis qt5.2

* not so funny

* use Qthread interrupt instead abort bool

* update services
This commit is contained in:
brindosch
2017-10-12 11:55:03 +02:00
committed by GitHub
parent 47641012ee
commit 838008568a
42 changed files with 940 additions and 701 deletions

View File

@@ -13,7 +13,6 @@
### END INIT INFO
DAEMON=hyperiond
DAEMONOPTS="/etc/hyperion/hyperion.config.json"
DAEMON_PATH="/usr/bin"
NAME=$DAEMON
@@ -29,7 +28,7 @@ start)
else
printf "%-50s" "Starting $NAME..."
cd $DAEMON_PATH
PID=`$DAEMON $DAEMONOPTS > /dev/null 2>&1 & echo $!`
PID=`$DAEMON > /dev/null 2>&1 & echo $!`
#echo "Saving PID" $PID " to " $PIDFILE
if [ -z $PID ]; then
printf "%s\n" "Fail"

View File

@@ -8,4 +8,4 @@ stop on (runlevel [!2345])
respawn
exec /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
exec /usr/bin/hyperiond

View File

@@ -3,7 +3,7 @@ Description=Hyperion ambient light systemd service
After=network.target
[Service]
ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json
ExecStart=/usr/bin/hyperiond
WorkingDirectory=/usr/share/hyperion/bin
TimeoutStopSec=5
KillMode=mixed