summaryrefslogtreecommitdiff
path: root/app-misc/uptimed/files/uptimed.init-r1
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-misc/uptimed/files/uptimed.init-r1
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/uptimed/files/uptimed.init-r1')
-rw-r--r--app-misc/uptimed/files/uptimed.init-r118
1 files changed, 0 insertions, 18 deletions
diff --git a/app-misc/uptimed/files/uptimed.init-r1 b/app-misc/uptimed/files/uptimed.init-r1
deleted file mode 100644
index 96564d8ee541..000000000000
--- a/app-misc/uptimed/files/uptimed.init-r1
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="uptimed - a daemon to record uptime records"
-pidfile="/run/uptimed.pid"
-command="/usr/sbin/uptimed"
-command_user="uptimed"
-
-# The uptimed daemon can create its own PID file, but it doesn't know
-# how to drop privileges. On the other hand, if we run it as a
-# restricted user under start-stop-daemon, the PID file it creates
-# will therefore be owned by a non-root user, and that poses a
-# security risk. To avoid the issue entirely, we run the daemon in the
-# foreground, and then use command_background=true to let OpenRC
-# handle the PID file.
-command_args="-f"
-command_background="true"