blob: bfc5406273e881b3b0bc996c4c0be7324a7b9c91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
description="uptimed - a daemon to record uptime records"
pidfile="/var/run/uptimed/uptimed.pid"
command="/usr/sbin/uptimed"
command_args="-p ${pidfile}"
start_stop_daemon_args="-u uptimed"
start_pre() {
checkpath -q -d -o uptimed ${pidfile%/*}
}
|