Fix comment in Bookworm systemd unit
This commit is contained in:
parent
a9526ffb3b
commit
fdf19de045
1 changed files with 6 additions and 1 deletions
|
@ -9,13 +9,18 @@ with pkgs . kernelmaft ;
|
||||||
"bookwyrm.service" = {
|
"bookwyrm.service" = {
|
||||||
text = ''
|
text = ''
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
||||||
ExecStartPre=${coreutils-full}/bin/ln -s ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
|
ExecStartPre=${coreutils-full}/bin/ln -s ${bookwyrm}/var/lib/bookwyrm/VERSION /var/lib/bookwyrm/
|
||||||
ExecStart=${bookwyrm}/bin/bookwyrm
|
ExecStart=${bookwyrm}/bin/bookwyrm
|
||||||
|
|
||||||
WorkingDirectory=/var/lib/bookwyrm
|
WorkingDirectory=/var/lib/bookwyrm
|
||||||
StateDirectory=bookwyrm # Creates /var/lib/bookwyrm directory
|
|
||||||
|
# Creates /var/lib/bookwyrm directory
|
||||||
|
StateDirectory=bookwyrm
|
||||||
'' ;
|
'' ;
|
||||||
} ;
|
} ;
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue