summaryrefslogtreecommitdiff
path: root/watchdog.initd
blob: 0965e5e98c850b7784225a0e976aad66f973a6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

command="/usr/bin/watchdog"
command_args="${WATCHDOG_OPTS}"
pidfile="/run/${RC_SVCNAME}.pid"
start_stop_daemon_args="--background --make-pidfile"

depend() {
    need localmount
    after bootmisc
}