blob: 175b7c456cb1c1cd6ea1c4f3f4b0541d67bec71a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/openrc-run
description="HOMER App and UI"
supervisor=supervise-daemon
command=/usr/bin/homer-app
command_args="-webapp-config-path=/etc/homer -webapp-log-path /var/log/homer"
command_user=homer
command_group=homer
pidfile="/run/homer/${RC_SVCNAME}.pid"
depend() {
need net
after firewall
}
start_pre() {
checkpath --directory --owner $command_user:$command_group ${pidfile%/*} /var/log/homer
}
|