Add systemd support
Issue #919
resolved
It would be great do have systemd support instead of old SysV Init. I think most major distros changed already.
Comments (4)
-
repo owner -
reporter The Arch Linux packager already created one which can be used. See service file in: https://aur.archlinux.org/cgit/aur.git/tree/?h=piler
Changes in configure will be needed.
-
repo owner Please checkout this commit: https://bitbucket.org/jsuto/piler/commits/70c2580fdc38582e108bd759cb524829d3ff848b
It adds 3 files to systemd dir inside the source tree. You may stop piler-smtp, piler and searchd, then copy them to /lib/systemd/system, then enable them, eg.
systemctl enable piler systemctl enable piler-smtp systemctl enable pilersearch
and finally start them or even better reboot to test if they are started properly.
-
repo owner - changed status to resolved
- Log in to comment
I'll add it to my TODO list.