feat: service files
This commit is contained in:
parent
f3fbb4c77f
commit
1b7b78d9ca
2 changed files with 28 additions and 0 deletions
12
service/openrc
Executable file
12
service/openrc
Executable 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
|
Reference in a new issue