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" ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
${cfg.package}/bin/ji-chan \
|
||||
--domain ${cfg.domain} \
|
||||
--token ${cfg.token} \
|
||||
--prefix ${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} --guildData ${cfg.guildData}
|
||||
'';
|
||||
Restart = "always";
|
||||
DynamicUser = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue