diff options
| author | Jeff Carr <[email protected]> | 2024-10-11 23:35:51 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-11 23:35:51 -0500 |
| commit | 14dcd3452b5033dea83cf12f117cf9fff7f9beb7 (patch) | |
| tree | 1e81360ceed4ff5ac64b7cd918385f753fd89911 | |
| parent | 3636bc167090ede51f1edb1ac3f82ba0bbe1808f (diff) | |
add a helper to the debian package
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | Makefile.help | 18 | ||||
| -rwxr-xr-x | build | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.help b/Makefile.help new file mode 100644 index 0000000..8fc9831 --- /dev/null +++ b/Makefile.help @@ -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,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 |
