2014-06-04 15:44:25 +01:00
|
|
|
%platform linux
|
|
|
|
#
|
|
|
|
# InspIRCd -- Internet Relay Chat Daemon
|
|
|
|
#
|
2020-01-11 22:02:47 +00:00
|
|
|
# Copyright (C) 2019 Robby <robby@chatbelgie.be>
|
|
|
|
# Copyright (C) 2015 Attila Molnar <attilamolnar@hush.com>
|
|
|
|
# Copyright (C) 2014, 2017, 2019 Sadie Powell <sadie@witchery.services>
|
2014-06-04 15:44:25 +01:00
|
|
|
#
|
|
|
|
# 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 <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
After=network.target
|
2015-02-20 00:57:10 +01:00
|
|
|
Description=InspIRCd - Internet Relay Chat Daemon
|
2019-11-30 16:17:32 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2014-06-04 15:44:25 +01:00
|
|
|
|
|
|
|
[Service]
|
2017-09-21 18:44:29 +01:00
|
|
|
ExecReload=@SCRIPT_DIR@/inspircd rehash
|
|
|
|
ExecStart=@SCRIPT_DIR@/inspircd start
|
|
|
|
ExecStop=@SCRIPT_DIR@/inspircd stop
|
2014-06-04 15:44:25 +01:00
|
|
|
PIDFile=@DATA_DIR@/inspircd.pid
|
|
|
|
Restart=on-failure
|
|
|
|
Type=forking
|
2019-03-23 23:14:45 +01:00
|
|
|
User=@USER@
|
|
|
|
Group=@GROUP@
|
2014-06-04 15:44:25 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|