add a helper to the debian package

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-11 23:35:51 -05:00
parent 3636bc1670
commit 14dcd3452b
2 changed files with 21 additions and 0 deletions

18
Makefile.help Normal file
View File

@ -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
View File

@ -3,3 +3,6 @@
# this is the systemd control file
mkdir -p 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