Ensure working directory exists for Bookwyrm systemd unit
This commit is contained in:
parent
402cf49968
commit
b836b76281
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ with pkgs . kernelmaft ;
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=${bookwyrm}/bin/bookwyrm
|
ExecStart=${bookwyrm}/bin/bookwyrm
|
||||||
WorkingDirectory=/var/lib/bookwyrm
|
StateDirectory=bookwyrm
|
||||||
|
WorkingDirectory=$STATE_DIRECTORY
|
||||||
'' ;
|
'' ;
|
||||||
} ;
|
} ;
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue