enable wireshark; add retry on systemd service;
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user