fix dufs credential
This commit is contained in:
parent
113403b9cc
commit
8b7d424094
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ in
|
|||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "root"; # Run as root to access any system path
|
||||
ExecStart = "${pkgs.dufs}/bin/dufs ${cfg.sharedPath} --port ${toString cfg.port} --bind 0.0.0.0 --auth $(cat ${authFile})@/:rw";
|
||||
ExecStart = ''/bin/sh -c "${pkgs.dufs}/bin/dufs ${cfg.sharedPath} --port ${toString cfg.port} --bind 0.0.0.0 --auth $(cat ${authFile})@/:rw"'';
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue