From d83be9c2d2540341051f6e3dc485a822c89f1321 Mon Sep 17 00:00:00 2001 From: st33v Date: Wed, 10 Feb 2016 22:15:36 +1100 Subject: Changed symbolic links to hard links. Git just stores the link not the target! --- getpix.service | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) mode change 120000 => 100644 getpix.service (limited to 'getpix.service') diff --git a/getpix.service b/getpix.service deleted file mode 120000 index 905dce8..0000000 --- a/getpix.service +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/getpix.service \ No newline at end of file diff --git a/getpix.service b/getpix.service new file mode 100644 index 0000000..e2ca248 --- /dev/null +++ b/getpix.service @@ -0,0 +1,10 @@ +[Unit] +Description=Retrieve photos from cam raspis, situated within LAN + +[Service] +Type=simple +User=st33v +# prefix call to script with '-' to accept nonzero ('failed') exit status +# I woulod prefer to know how to prevent the 'failure' in the first place. +ExecStart=-/usr/local/bin/getpix.sh + -- cgit v1.3