diff options
Diffstat (limited to 'app-misc/uptimed/files')
-rw-r--r-- | app-misc/uptimed/files/uptimed.init-r1 | 18 | ||||
-rw-r--r-- | app-misc/uptimed/files/uptimed.service | 10 |
2 files changed, 0 insertions, 28 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" diff --git a/app-misc/uptimed/files/uptimed.service b/app-misc/uptimed/files/uptimed.service deleted file mode 100644 index 531c41570216..000000000000 --- a/app-misc/uptimed/files/uptimed.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Uptime record tracking daemon -Documentation=man:uptimed(8) man:uprecords(1) - -[Service] -ExecStartPre=/usr/sbin/uptimed -b -ExecStart=/usr/sbin/uptimed -f - -[Install] -WantedBy=multi-user.target |