feat: service files

This commit is contained in:
Tom MTT 2022-11-29 11:45:59 +01:00
parent f3fbb4c77f
commit 1b7b78d9ca
2 changed files with 28 additions and 0 deletions

12
service/openrc Executable file
View file

@ -0,0 +1,12 @@
#!/bin/ksh
# $ mv ./openrc /etc/rc.d/feuille
# $ rcctl enable feuille
# $ rcctl set feuille flags -U https://my.paste.bin
# $ rcctl start feuille
daemon="/usr/local/bin/feuille"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1