Antoine Martin
65ab48938e
Some checks failed
/ deploy-v3.19 (pull_request) Has been cancelled
/ build-v3.19 (pull_request) Has been cancelled
/ deploy-v3.20 (pull_request) Has been cancelled
/ build-v3.20 (pull_request) Has been cancelled
/ deploy-edge (pull_request) Has been cancelled
/ build-edge (pull_request) Has been cancelled
/ lint (pull_request) Successful in 24s
22 lines
560 B
Text
Executable file
22 lines
560 B
Text
Executable file
#!/sbin/openrc-run
|
|
|
|
name=$RC_SVCNAME
|
|
cfgfile="/etc/qubes/$RC_SVCNAME.conf"
|
|
command="/usr/bin/qubes-firewall"
|
|
command_args=""
|
|
command_user="root"
|
|
pidfile="/run/qubes/$RC_SVCNAME.pid"
|
|
start_stop_daemon_args=""
|
|
command_background="yes"
|
|
output_log="/var/log/qubes/$RC_SVCNAME.log"
|
|
error_log="/var/log/qubes/$RC_SVCNAME.err"
|
|
|
|
depend() {
|
|
need qubes-db
|
|
}
|
|
|
|
start_pre() {
|
|
/usr/sbin/ethtool -K "$(get_qubes_managed_iface)" sg off
|
|
checkpath --directory --owner $command_user:qubes --mode 0775 \
|
|
/run/$RC_SVCNAME /var/log/qubes
|
|
}
|