parent
5362a80850
commit
6963e44409
@ -0,0 +1,20 @@
|
||||
#!/sbin/openrc-run
|
||||
# /etc/init.d/foomuuri-dbus
|
||||
|
||||
description="Multizone bidirectional nftables firewall - D-Bus handler"
|
||||
|
||||
depend() {
|
||||
need dbus foomuuri
|
||||
after polkit
|
||||
}
|
||||
|
||||
supervisor=supervise-daemon
|
||||
command=/usr/bin/foomuuri
|
||||
command_args="dbus"
|
||||
pidfile=/run/foomuuri-dbus.pid
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading foomuuri-dbus"
|
||||
kill -HUP $(cat "${pidfile}")
|
||||
eend $?
|
||||
}
|
||||
Loading…
Reference in new issue