Fix ExecStart in Bookwyrm systemd unit
This commit is contained in:
parent
0d688022d9
commit
69d0e63247
1 changed files with 5 additions and 4 deletions
|
@ -1,11 +1,12 @@
|
||||||
{ pkgs , ... } :
|
{ pkgs , ... } :
|
||||||
|
|
||||||
|
with pkgs ;
|
||||||
|
with pkgs . kernelmaft ;
|
||||||
|
|
||||||
{
|
{
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays = [
|
overlays = [
|
||||||
( self : super :
|
( self : super :
|
||||||
with pkgs ;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
kernelmaft = {
|
kernelmaft = {
|
||||||
|
|
||||||
|
@ -54,13 +55,13 @@
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
units = {
|
units = {
|
||||||
bookwyrm = {
|
"bookwyrm.service" = {
|
||||||
text = ''
|
text = ''
|
||||||
[Unit]
|
[Unit]
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=$out/bin/bookwyrm
|
ExecStart=${bookwyrm}/bin/bookwyrm
|
||||||
WorkingDirectory=/var/lib/bookwyrm
|
WorkingDirectory=/var/lib/bookwyrm
|
||||||
'' ;
|
'' ;
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue