diff options
author | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2019-01-06 15:17:44 -0600 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2019-01-06 15:17:44 -0600 |
commit | 1d5501c950772da7e15998ea557f7032439e55a2 (patch) | |
tree | 6b34c6a2b9c1d10512265e128b0d7e74629b77f6 /user/uptimed/uptimed.init | |
parent | 6c9721136977ab20ddc576bc400eab4067391dcb (diff) | |
download | packages-1d5501c950772da7e15998ea557f7032439e55a2.tar.gz packages-1d5501c950772da7e15998ea557f7032439e55a2.tar.bz2 packages-1d5501c950772da7e15998ea557f7032439e55a2.tar.xz packages-1d5501c950772da7e15998ea557f7032439e55a2.zip |
user/uptimed: new package
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 +} |