summaryrefslogtreecommitdiff
path: root/user/uptimed/uptimed.init
diff options
context:
space:
mode:
Diffstat (limited to 'user/uptimed/uptimed.init')
-rw-r--r--user/uptimed/uptimed.init12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/uptimed/uptimed.init b/user/uptimed/uptimed.init
new file mode 100644
index 000000000..deba54128
--- /dev/null
+++ b/user/uptimed/uptimed.init
@@ -0,0 +1,12 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="uptimed - a daemon to record uptime records"
+pidfile="/var/run/uptimed/uptimed.pid"
+command="/usr/sbin/uptimed"
+command_args="-p ${pidfile}"
+
+start_pre() {
+ uptimed -b
+}