Add OpenRC service unit

This commit is contained in:
Disassembler 2020-04-04 22:03:00 +02:00
parent 4e7921e85d
commit 5929a1ea6b
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499

16
etc/init.d/spoc Executable file
View File

@ -0,0 +1,16 @@
#!/sbin/openrc-run
description="SPOC"
depend() {
need localmount sysfs cgroups
after firewall net
}
start() {
/usr/bin/spoc-app autostart
}
stop() {
/usr/bin/spoc-app stop-all
}