kiwiirc / kiwiirc_packager

Builds Kiwi IRC packages for distribution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature request] include systemd service file in .deb package

Happy86 opened this issue · comments

Hi,

just had a look through at https://kiwiirc.com/downloads/

As Debian (and even Ubuntu) have switched to systemd quite some time ago it would be nice to include a service file.

(I guess there is no harm leaving the ancient SysVinit shell script where it is.)

A kiwiirc.service file could look like:

[Unit]
Description=KiwiIRC
After=network.target

[Service]
User=kiwiirc
Group=kiwiirc
DynamicUser=true
ConditionPathExists=/etc/kiwiirc/config.conf
ExecStart=kiwiirc --config=/etc/kiwiirc/config.conf
Restart=on-failure

[Install]
WantedBy=multi-user.target