add a helper to the debian package
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
3636bc1670
commit
14dcd3452b
|
@ -0,0 +1,18 @@
|
||||||
|
all:
|
||||||
|
@echo "make log # watch the virtigo daemon log"
|
||||||
|
@echo "make status # show the systemd status of virtigod"
|
||||||
|
@echo "make restart # restart virtigod"
|
||||||
|
@echo "make enable # enable virtigod on boot"
|
||||||
|
|
||||||
|
log:
|
||||||
|
@journalctl -f -xeu virtigod.service
|
||||||
|
|
||||||
|
status:
|
||||||
|
systemctl status virtigod.service
|
||||||
|
|
||||||
|
enable:
|
||||||
|
systemctl enable virtigod.service
|
||||||
|
|
||||||
|
restart:
|
||||||
|
systemctl stop virtigod.service
|
||||||
|
systemctl start virtigod.service
|
3
build
3
build
|
@ -3,3 +3,6 @@
|
||||||
# this is the systemd control file
|
# this is the systemd control file
|
||||||
mkdir -p files/lib/systemd/system/
|
mkdir -p files/lib/systemd/system/
|
||||||
cp virtigod.service files/lib/systemd/system/
|
cp virtigod.service files/lib/systemd/system/
|
||||||
|
|
||||||
|
mkdir -p files/usr/lib/virtigod/
|
||||||
|
cp Makefile.help files/usr/lib/virtigod/Makefile
|
||||||
|
|
Loading…
Reference in New Issue