fix: use single-line ExecStart string for systemd compat
The indented string ('''...''') included newlines + spaces in the systemd
unit file, which systemd rejected with 'expected entry key name but got /'.
Use a plain double-quoted string instead so ExecStart stays on one line.
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
.worktrees/
|
||||||
@@ -80,9 +80,7 @@ in
|
|||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = ''
|
ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe";
|
||||||
${pkgs.ntfy-sh}/bin/ntfy subscribe
|
|
||||||
'';
|
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 10;
|
RestartSec = 10;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user