diff --git a/nixos/misc/dslr-webcam.nix b/nixos/misc/dslr-webcam.nix index 38928f7..a4cc109 100644 --- a/nixos/misc/dslr-webcam.nix +++ b/nixos/misc/dslr-webcam.nix @@ -49,13 +49,11 @@ in systemd.services.dslr-webcam = { description = "DSLR Webcam Service"; - after = [ "network.target" ]; serviceConfig = { ExecStart = "${pkgs.writeScriptBin "dslr-webcam" dslrWebcamScript}/bin/dslr-webcam"; - ExecStop = "/bin/kill -s TERM $MAINPID"; + Restart = "on-failure"; }; - wantedBy = [ "multi-user.target" ]; }; } diff --git a/nixos/misc/test_plate.png b/nixos/misc/test_plate.png new file mode 100644 index 0000000..716c33b Binary files /dev/null and b/nixos/misc/test_plate.png differ