flake.nix: fix ExecStart
This commit is contained in:
parent
afc8504da8
commit
14a9dde083
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ Some utility commands:
|
||||||
wantedBy = [ "network.target" ];
|
wantedBy = [ "network.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${cfg.package}/bin/ji-chan --domain ${cfg.domain} --token ${cfg.token} --prefix "${builtins.replaceStrings ["\""] ["\\\""] cfg.prefix}" --hugo ${cfg.hugo} --guildData ${cfg.guildData}
|
${cfg.package}/bin/ji-chan --domain ${cfg.domain} --token ${cfg.token} --prefix "${builtins.replaceStrings ["\"" "-"] ["\\\"" "\\-"] cfg.prefix}" --hugo ${cfg.hugo} --guilds ${cfg.guildData}
|
||||||
'';
|
'';
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue