Antoine Martin
a0e397c918
Some checks failed
/ deploy-v3.20 (pull_request) Has been cancelled
/ build-v3.20 (pull_request) Has been cancelled
/ deploy-v3.19 (pull_request) Has been cancelled
/ build-v3.19 (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
17 lines
465 B
Text
17 lines
465 B
Text
#!/sbin/openrc-run
|
|
|
|
name=$RC_SVCNAME
|
|
cfgfile="/etc/qubes/$RC_SVCNAME.conf"
|
|
pidfile="/var/run/meminfo-writer.pid"
|
|
command="/usr/sbin/meminfo-writer"
|
|
command_args="30000 100000 $pidfile"
|
|
command_user="root"
|
|
start_stop_daemon_args=""
|
|
command_background="yes"
|
|
output_log="/var/log/qubes/$RC_SVCNAME.log"
|
|
error_log="/var/log/qubes/$RC_SVCNAME.err"
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner $command_user:qubes --mode 0775 \
|
|
/var/log/qubes
|
|
}
|