Browse Source

Fix module

Signed-off-by: Magic_RB <magic_rb@redalder.org>
master
Magic_RB 4 months ago
parent
commit
01277dda16
Signed by: Magic_RB GPG Key ID: 08D5287CC5DDCA0E
  1. 5
      module.nix

5
module.nix

@ -50,12 +50,11 @@ in
{
script = pkgs.writeShellScript "camptules-run"
''
mkdir -p /run/cfg/jmusicbot
mkdir -p /run/cfg/camptules
cd /run/cfg/camptules
echo "$BOT_TOKEN" > /run/cfg/camptules/cfg
chpst -u ${cfg.user}:${cfg.group}
${cfg.package}/bin/camptules
chpst -u ${cfg.user}:${cfg.group} ${cfg.package}/bin/campatules
'';
enabled = true;
};

Loading…
Cancel
Save