rootpath should be edited so not only the database will be stored inside

var/lib/vikunja
This commit is contained in:
Fliegerjohn 2024-10-01 23:04:47 +02:00
parent ea8d83f8bf
commit 533c3aa96e
Signed by: fliegerjohn
GPG key ID: E2221D5FE4656B6A

View file

@ -16,13 +16,14 @@ chown vikunja:vikunja /var/lib/vikunja
Now we can download and install the binary as descripted here: https://vikunja.io/docs/installing Now we can download and install the binary as descripted here: https://vikunja.io/docs/installing
But we will not link it to */usr/bin/*. But we will not link it to */usr/bin/*.
Now we can copy the sample config inside the unziped dir. Copy the sample config inside the unziped dir.
``` ```
cp /opt/vikunja/config.yml.sample /etc/vikunja/config.yml cp /opt/vikunja/config.yml.sample /etc/vikunja/config.yml
``` ```
To keep files inside */var/lib/vikunja* we search for *rootpath* inside the config.
You can edit it now, so it fits your needs. See the docs here: https://vikunja.io/docs/config-options It should become ```rootpath: /var/lib/vikunja```
Further edit it, so it fits your needs. See the docs here: https://vikunja.io/docs/config-options
After everything is set up it's time for our init script. After everything is set up it's time for our init script.
Let's either download the initfile from *init.d/* or copy it to a file namend */etc/init.d/vikunja*. Don't forget to make it executeable. Let's either download the initfile from *init.d/* or copy it to a file namend */etc/init.d/vikunja*. Don't forget to make it executeable.
@ -31,11 +32,11 @@ Let's either download the initfile from *init.d/* or copy it to a file namend */
chmod +x /etc/init.d/vikunja chmod +x /etc/init.d/vikunja
``` ```
Now it's time to start vikunja the first time. It's time to start vikunja the first time.
``` ```
rc-service vikunja start rc-service vikunja start
``` ```
If everything is working as espected you can anable vikunja to start it automaticaly. If everything is working as espected you can enable vikunja to start it automaticaly.
``` ```
rc-update add vikunja rc-update add vikunja
``` ```