mirror of
https://git.gay/xqtc/nixos-config
synced 2025-05-11 14:57:30 +02:00
fix sync service on seraphim
This commit is contained in:
parent
108a6d7acf
commit
bed48d539e
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
|||
};
|
||||
};
|
||||
systemd.services."sync-media" = {
|
||||
path = [
|
||||
pkgs.openssh
|
||||
];
|
||||
script = ''
|
||||
${pkgs.coreutils}/bin/echo "Syncing shows"
|
||||
${pkgs.rsync}/bin/rsync -a --ignore-existing --info=progress1 /home/crime/sonarr/tvseries/ xqtc@88.99.90.90:~/jellyfin/shows/
|
||||
|
@ -22,6 +25,7 @@
|
|||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "xqtc";
|
||||
WorkingDirectory = "/home/xqtc/"
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue