rename guh to guhd.

added a meta package for guh, that pulls in guhd and guh-plugins
pull/135/head
Michael Zanetti 2014-10-12 13:09:53 +02:00 committed by Michael Zanetti
parent 50ff810e76
commit a803ef8292
5 changed files with 18 additions and 5 deletions

View File

@ -25,7 +25,7 @@ DESC="guh daemon"
case "$1" in
start)
log_daemon_msg "Starting guh daemon" "guh" || true
if start-stop-daemon --start --background --quiet --oknodo -m --pidfile /var/run/guh.pid --exec /usr/bin/guh -- $GUH_OPTS; then
if start-stop-daemon --start --background --quiet --oknodo -m --pidfile /var/run/guh.pid --exec /usr/bin/guhd -- $GUH_OPTS; then
log_end_msg 0 || true
else
log_end_msg 1 || true
@ -33,7 +33,7 @@ case "$1" in
;;
stop)
log_daemon_msg "Stopping guh daemon" "guh" || true
if start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/guh.pid; then
if start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/guhd.pid; then
log_end_msg 0 || true
else
log_end_msg 1 || true
@ -44,10 +44,10 @@ case "$1" in
check_privsep_dir
check_config
log_daemon_msg "Restarting guh daemon" "guh" || true
start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile /var/run/guh.pid
start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile /var/run/guhd.pid
check_for_no_start log_end_msg
check_dev_null log_end_msg
if start-stop-daemon --start --background --quiet --oknodo -m --pidfile /var/run/guh.pid --exec /usr/bin/guh -- $GUH_OPTS; then
if start-stop-daemon --start --background --quiet --oknodo -m --pidfile /var/run/guhd.pid --exec /usr/bin/guhd -- $GUH_OPTS; then
log_end_msg 0 || true
else
log_end_msg 1 || true

12
debian/control vendored
View File

@ -8,6 +8,18 @@ Build-Depends: debhelper (>= 8.0.0),
Standards-Version: 3.9.3
Package: guh
Architecture: all
Depends: guh (= ${binary:Version}),
guh-plugins (= ${binary:Version}),
Description: server for home automation systems - meta package
'Gear Up your Home!' - Home automation server.
guh is a home automation system aiming for easy integration of various
existing home automation and controlling devices into a fully automated
system.
This meta package installs the guh daemon and the main plugins.
Package: guhd
Architecture: any
Depends: libqt5network5,
libqt5gui5,

1
debian/guhd.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/bin

View File

@ -2,7 +2,7 @@ include(../guh.pri)
message("Building guh version $${GUH_VERSION_STRING}")
TARGET = guh
TARGET = guhd
TEMPLATE = app
INCLUDEPATH += ../libguh jsonrpc