From 533c3aa96e0906a46f786e318fdb2b7d8c361a0a Mon Sep 17 00:00:00 2001 From: Fliegerjohn Date: Tue, 1 Oct 2024 23:04:47 +0200 Subject: [PATCH] rootpath should be edited so not only the database will be stored inside var/lib/vikunja --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c408966..699f642 100644 --- a/README.md +++ b/README.md @@ -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 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 ``` - -You can edit it now, so it fits your needs. See the docs here: https://vikunja.io/docs/config-options +To keep files inside */var/lib/vikunja* we search for *rootpath* inside the config. +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. 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 ``` -Now it's time to start vikunja the first time. +It's time to start vikunja the first time. ``` 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 ```