DSLR-webcam works reliably
This commit is contained in:
parent
4831928351
commit
c61fbf3d42
@ -49,13 +49,11 @@ in
|
|||||||
|
|
||||||
systemd.services.dslr-webcam = {
|
systemd.services.dslr-webcam = {
|
||||||
description = "DSLR Webcam Service";
|
description = "DSLR Webcam Service";
|
||||||
after = [ "network.target" ];
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.writeScriptBin "dslr-webcam" dslrWebcamScript}/bin/dslr-webcam";
|
ExecStart = "${pkgs.writeScriptBin "dslr-webcam" dslrWebcamScript}/bin/dslr-webcam";
|
||||||
ExecStop = "/bin/kill -s TERM $MAINPID";
|
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
nixos/misc/test_plate.png
Normal file
BIN
nixos/misc/test_plate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
Loading…
Reference in New Issue
Block a user