nixos/moonraker: Pass -d (data-path) to moonraker
Moonraker now stores a few more paths under data-path which defaults to $HOME.
This commit is contained in:
parent
ce86df4a21
commit
7658372185
|
@ -149,7 +149,7 @@ in {
|
|||
script = ''
|
||||
cp /etc/moonraker.cfg ${cfg.configDir}/moonraker-temp.cfg
|
||||
chmod u+w ${cfg.configDir}/moonraker-temp.cfg
|
||||
exec ${pkg}/bin/moonraker -c ${cfg.configDir}/moonraker-temp.cfg
|
||||
exec ${pkg}/bin/moonraker -d ${cfg.stateDir} -c ${cfg.configDir}/moonraker-temp.cfg
|
||||
'';
|
||||
|
||||
# Needs `ip` command
|
||||
|
|
Loading…
Reference in a new issue