aboutsummaryrefslogtreecommitdiffstats
path: root/community/uptimed/uptimed.init
diff options
context:
space:
mode:
Diffstat (limited to 'community/uptimed/uptimed.init')
-rw-r--r--community/uptimed/uptimed.init12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/uptimed/uptimed.init b/community/uptimed/uptimed.init
new file mode 100644
index 0000000000..deba54128c
--- /dev/null
+++ b/community/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
+}