diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /net-irc/unrealircd/files/unrealircd.initd-r2 | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'net-irc/unrealircd/files/unrealircd.initd-r2')
-rw-r--r-- | net-irc/unrealircd/files/unrealircd.initd-r2 | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/net-irc/unrealircd/files/unrealircd.initd-r2 b/net-irc/unrealircd/files/unrealircd.initd-r2 deleted file mode 100644 index 7d733a6e185a..000000000000 --- a/net-irc/unrealircd/files/unrealircd.initd-r2 +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Defaults -: ${UNREALIRCD_CONF:=/etc/unrealircd/${SVCNAME}.conf} -: ${UNREALIRCD_PIDFILE:=/run/unrealircd/${SVCNAME#unreal}.pid} - -command="/usr/bin/unrealircd" -# Run the daemon in the foreground and let OpenRC background it. -# This way the PID file is created securely, as root. -command_args="-F -f ${UNREALIRCD_CONF} ${UNREALIRCD_OPTS}" -command_user=unrealircd -command_background=true -pidfile="${UNREALIRCD_PIDFILE}" -start_stop_daemon_args="${UNREALIRCD_SSD_OPTS}" -extra_started_commands="reload" - -depend() { - use dns net - provide ircd -} - -# It is unsafe for the unrealircd user to be able to write to its own -# PID file, since root will be sending e.g. kill signals to the PID -# listed in that file. Ensure that we overwrite the ownership and -# permissions on /run/unrealircd from previous init scripts. -start_pre() { - checkpath --directory --owner root:root --mode 0700 /run/unrealircd -} - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --signal HUP \ - --pidfile "${pidfile}" \ - ${UNREALIRCD_SSD_OPTS} - eend $? -} |