mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-30 09:07:40 -05:00
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.
16 lines
238 B
Plaintext
Executable File
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
|
|
}
|