Files
vikunja/build
kolaente 16185a5d6d fix(packaging): restart the service on package upgrades
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.
2026-08-04 15:19:27 +02:00
..