enable wireshark; add retry on systemd service;

This commit is contained in:
2025-05-14 16:09:26 +01:00
parent 340a2ab92f
commit 72cbcd5551
3 changed files with 8 additions and 4 deletions

View File

@@ -113,6 +113,8 @@
Unit = {
Description = "rclone-media /mnt/HDD1/Videos/";
After = [ "network.target" "mnt-HDD1.mount" ];
# Maybe? https://unix.stackexchange.com/questions/281650/systemd-unit-requiresmountsfor-vs-conditionpathisdirectory
# RequiresMountsFor = "/mnt/HDD1/Videos/";
};
Install = {
@@ -120,6 +122,8 @@
};
Service = {
RestartSec = 10;
Restart = "on-failure";
Type = "exec";
ExecStart = "${pkgs.writeShellApplication {
name = "rclone-media";