initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

30
ngircd/ngircd.initd Normal file
View File

@@ -0,0 +1,30 @@
#!/sbin/openrc-run
# Copyright 2020-2021 Hyperbola
# Distributed under the terms of the GNU General Public License v2
extra_started_commands="reload"
depend() {
need net
after firewall
provide ircd
}
start() {
ebegin "Starting ngIRCd"
start-stop-daemon --start --quiet --exec /usr/sbin/ngircd
eend $? "Failed to start ngIRCd"
}
stop() {
ebegin "Stopping ngIRCd"
start-stop-daemon --stop --quiet --exec /usr/sbin/ngircd
eend $? "Failed to stop ngIRCd"
}
reload() {
ebegin "Reloading ngIRCd"
start-stop-daemon --stop --signal HUP --quiet --oknodo \
--exec /usr/sbin/ngircd
eend $? "Failed to reload ngIRCd"
}