Fix ExecStartPre failing after first run in Bookwyrm systemd unit

This commit is contained in:
Reinout Meliesie 2025-03-04 16:14:51 +01:00
parent fdf19de045
commit 368169a923
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -14,7 +14,7 @@ with pkgs . kernelmaft ;
[Service]
ExecStartPre=${coreutils-full}/bin/ln -s ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
ExecStartPre=${coreutils-full}/bin/ln -sf ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
ExecStart=${bookwyrm}/bin/bookwyrm
WorkingDirectory=/var/lib/bookwyrm