mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-29 07:46:00 -05:00
The postinstall script only ran `systemctl enable`, which creates the wants-symlink and nothing else. On an upgrade the package manager replaced the binary while the old process kept running the old inode, so users had to restart vikunja by hand to get the new version. Changes to vikunja.service were never picked up either, for lack of a `daemon-reload`. Add a daemon-reload plus `try-restart` (`rc-service restart` on OpenRC). try-restart is a no-op while the unit is stopped, so fresh installs keep their current behaviour of being enabled but not started. The config fixups move above the service handling so a restart never races a half-patched config.