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