feat: add games and books rsync target
This commit is contained in:
parent
d7c231b017
commit
52fe1d2847
2 changed files with 13 additions and 2 deletions
|
@ -47,7 +47,17 @@
|
|||
}
|
||||
{
|
||||
name = "movies";
|
||||
comment = "backup location for movies shows";
|
||||
comment = "backup location for movies and shows";
|
||||
mode = "write";
|
||||
}
|
||||
{
|
||||
name = "books";
|
||||
comment = "backup location for books";
|
||||
mode = "write";
|
||||
}
|
||||
{
|
||||
name = "games";
|
||||
comment = "backup location for games";
|
||||
mode = "write";
|
||||
}
|
||||
];
|
||||
|
|
|
@ -82,7 +82,8 @@ in
|
|||
|
||||
serviceConfig = serviceConfigSecurity // {
|
||||
ExecStart = "${pkgs.rsync}/bin/rsync --daemon --no-detach --config=${configFile}";
|
||||
RestartSec = 1;
|
||||
RestartSec = 15;
|
||||
Restart = "always";
|
||||
};
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
|
Loading…
Add table
Reference in a new issue