Fix ExecStart in Bookwyrm systemd unit

This commit is contained in:
Reinout Meliesie 2025-03-04 12:29:13 +01:00
parent 0d688022d9
commit 69d0e63247
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -1,11 +1,12 @@
{ pkgs , ... } :
with pkgs ;
with pkgs . kernelmaft ;
{
nixpkgs = {
overlays = [
( self : super :
with pkgs ;
{
kernelmaft = {
@ -54,13 +55,13 @@
systemd = {
units = {
bookwyrm = {
"bookwyrm.service" = {
text = ''
[Unit]
After=network.target
[Service]
ExecStart=$out/bin/bookwyrm
ExecStart=${bookwyrm}/bin/bookwyrm
WorkingDirectory=/var/lib/bookwyrm
'' ;
} ;