From 785d99875e5ae3e343a8da56accd6678fc69c676 Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 21 Aug 2025 02:17:53 +0200 Subject: [PATCH] roles/server/ircd/files --- .../ircd/files/default/inspircd.service | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/roles/server/ircd/files/default/inspircd.service b/roles/server/ircd/files/default/inspircd.service index 518550f..c646062 100644 --- a/roles/server/ircd/files/default/inspircd.service +++ b/roles/server/ircd/files/default/inspircd.service @@ -5,19 +5,41 @@ # Part of: https://git.somenet.org/root/pub/somesible.git # 2017-2025 by someone # +# +# InspIRCd -- Internet Relay Chat Daemon +# +# Copyright (C) 2019 Robby +# Copyright (C) 2015 Attila Molnar +# Copyright (C) 2014, 2019-2020 Sadie Powell +# +# This file is part of InspIRCd. InspIRCd is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, version 2. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + [Unit] -Description=IRC server -Documentation=man:inspircd(1) +After=network.target +Description=InspIRCd - Internet Relay Chat Daemon +Documentation=man:inspircd(8) After=network-online.target Wants=network-online.target [Service] +ExecReload=/bin/kill -HUP $MAINPID +ExecStart=/usr/sbin/inspircd --nofork --nopid --nolog +Restart=on-failure Type=simple User=irc Group=irc -ExecStart=/usr/sbin/inspircd --config /etc/inspircd/inspircd.conf --nofork --nolog --nopid -ExecReload=/bin/kill -HUP $MAINPID Restart=always RestartSec=30 -- 2.47.2