+1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="portfoliojournal-og"
|
||||
description="Portfolio Journal Open Graph share service"
|
||||
|
||||
command="/usr/local/bin/portfoliojournal-og"
|
||||
command_args=""
|
||||
command_background="yes"
|
||||
output_log="/var/log/portfoliojournal-og.log"
|
||||
error_log="/var/log/portfoliojournal-og.err"
|
||||
pidfile="/run/portfoliojournal-og.pid"
|
||||
|
||||
start_pre() {
|
||||
checkpath --file --mode 0644 --owner root:root "$output_log"
|
||||
checkpath --file --mode 0644 --owner root:root "$error_log"
|
||||
}
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after firewall
|
||||
}
|
||||
Reference in New Issue
Block a user