Create runtime dir when running Bookwyrm systemd unit
This commit is contained in:
parent
2a0711c842
commit
a3e9cf0296
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ with pkgs . kernelmaft ;
|
|||
[Service]
|
||||
|
||||
ExecStartPre=${coreutils-full}/bin/ln -sf ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
|
||||
ExecStartPre=${coreutils-full}/bin/mkdir /run/bookwyrm
|
||||
ExecStart=${bookwyrm}/bin/bookwyrm
|
||||
|
||||
WorkingDirectory=/var/lib/bookwyrm
|
||||
|
|
Loading…
Add table
Reference in a new issue