rename guh to guhd.
added a meta package for guh, that pulls in guhd and guh-plugins
This commit is contained in:
parent
50ff810e76
commit
a803ef8292
@ -25,7 +25,7 @@ DESC="guh daemon"
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
log_daemon_msg "Starting guh daemon" "guh" || true
|
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
|
log_end_msg 0 || true
|
||||||
else
|
else
|
||||||
log_end_msg 1 || true
|
log_end_msg 1 || true
|
||||||
@ -33,7 +33,7 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
log_daemon_msg "Stopping guh daemon" "guh" || true
|
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
|
log_end_msg 0 || true
|
||||||
else
|
else
|
||||||
log_end_msg 1 || true
|
log_end_msg 1 || true
|
||||||
@ -44,10 +44,10 @@ case "$1" in
|
|||||||
check_privsep_dir
|
check_privsep_dir
|
||||||
check_config
|
check_config
|
||||||
log_daemon_msg "Restarting guh daemon" "guh" || true
|
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_for_no_start log_end_msg
|
||||||
check_dev_null 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
|
log_end_msg 0 || true
|
||||||
else
|
else
|
||||||
log_end_msg 1 || true
|
log_end_msg 1 || true
|
||||||
|
|||||||
12
debian/control
vendored
12
debian/control
vendored
@ -8,6 +8,18 @@ Build-Depends: debhelper (>= 8.0.0),
|
|||||||
Standards-Version: 3.9.3
|
Standards-Version: 3.9.3
|
||||||
|
|
||||||
Package: guh
|
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
|
Architecture: any
|
||||||
Depends: libqt5network5,
|
Depends: libqt5network5,
|
||||||
libqt5gui5,
|
libqt5gui5,
|
||||||
|
|||||||
1
debian/guhd.dirs
vendored
Normal file
1
debian/guhd.dirs
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
usr/bin
|
||||||
@ -2,7 +2,7 @@ include(../guh.pri)
|
|||||||
|
|
||||||
message("Building guh version $${GUH_VERSION_STRING}")
|
message("Building guh version $${GUH_VERSION_STRING}")
|
||||||
|
|
||||||
TARGET = guh
|
TARGET = guhd
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
INCLUDEPATH += ../libguh jsonrpc
|
INCLUDEPATH += ../libguh jsonrpc
|
||||||
|
|||||||
Reference in New Issue
Block a user