support installation of the program and its service file

This commit is contained in:
Solene Rapenne 2022-03-14 18:33:40 +01:00
parent 98eecfa950
commit 7a11809dd0
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,9 @@
PREFIX=/usr/local
test:
-./impermanence.pl -t tests/errored.yml
./impermanence.pl -t tests/impermanence.yml
install:
install -o root -g wheel -m 555 impermanence.pl ${PREFIX}/bin/impermanence
install -o root -g wheel -m 555 openbsd/impermanence.rc /etc/rc.d/impermanence