Files
vikunja/vikunja.initd
kolaente cbd33ef8cb feat(packages)!: store data in /var/lib/vikunja
The os packages previously stored the sqlite database and all other
runtime data in /opt/vikunja, next to the binary. Fresh installs now
default to /var/lib/vikunja, which is the correct FHS location for
variable state data. The package creates the directory and the service
units use it as their working directory.

BREAKING CHANGE: New installations store their data in /var/lib/vikunja
instead of /opt/vikunja. Existing installations keep their current
config and are unaffected, but setups relying on the old default path
for new machines need to move their data or adjust the config.
2026-08-05 19:22:42 +02:00

16 lines
238 B
Plaintext
Executable File

#!/sbin/openrc-run
command="/usr/local/bin/vikunja"
command_background=true
pidfile="/run/vikunja.pid"
directory="/var/lib/vikunja"
description="Vikunja service"
depend() {
need net
}
start_pre() {
checkpath --directory /run
}