diff options
Diffstat (limited to 'unrealircd.install')
-rw-r--r-- | unrealircd.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/unrealircd.install b/unrealircd.install new file mode 100644 index 000000000000..edfe57882f7f --- /dev/null +++ b/unrealircd.install @@ -0,0 +1,12 @@ +post_install() { + getent passwd ircd >/dev/null || useradd -r ircd + chown -R ircd etc/unrealircd var/log/unrealircd + systemd-tmpfiles --create unrealircd.conf + echo "SSL is enabled by default, so you need to create pem files" + echo "unrealircd.conf needs adjustments" + echo "See also: https://wiki.archlinux.org/index.php/UnrealIRCd" +} + +post_upgrade() { + post_install +} |