diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-07 22:08:28 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-07 22:08:28 +0000 |
commit | 14cd2a940d42e9a28c6c51ee7fb8fde9e64efb3e (patch) | |
tree | c81c59143c384ac70da27e0d1e67bf630a5a1242 /user/uptimed/uptimed.init | |
parent | 0b21f39076f4faba3e6e8070332cf40446efca6c (diff) | |
parent | 1d5501c950772da7e15998ea557f7032439e55a2 (diff) | |
download | packages-14cd2a940d42e9a28c6c51ee7fb8fde9e64efb3e.tar.gz packages-14cd2a940d42e9a28c6c51ee7fb8fde9e64efb3e.tar.bz2 packages-14cd2a940d42e9a28c6c51ee7fb8fde9e64efb3e.tar.xz packages-14cd2a940d42e9a28c6c51ee7fb8fde9e64efb3e.zip |
Merge branch 'uptimed' into 'master'
user/uptimed: new package
See merge request !139
Diffstat (limited to 'user/uptimed/uptimed.init')
-rw-r--r-- | user/uptimed/uptimed.init | 12 |
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 +} |