Ensure working directory exists for Bookwyrm systemd unit

This commit is contained in:
Reinout Meliesie 2025-03-04 14:52:52 +01:00
parent 402cf49968
commit b836b76281
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -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
'' ; '' ;
} ; } ;
} ; } ;