summaryrefslogtreecommitdiff
path: root/getpix.service
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2016-02-10 22:15:36 +1100
committerst33v <github@f3rr3t.com>2016-02-10 22:15:36 +1100
commitd83be9c2d2540341051f6e3dc485a822c89f1321 (patch)
tree46df28f722fd21237fdd7222b801bc9542e6e8a4 /getpix.service
parentf0182ef756360ec70addd23c44c37df3df62fcf7 (diff)
Changed symbolic links to hard links. Git just stores the link not the target!
Diffstat (limited to 'getpix.service')
-rw-r--r--[l---------]getpix.service11
1 files changed, 10 insertions, 1 deletions
diff --git a/getpix.service b/getpix.service
index 905dce8..e2ca248 120000..100644
--- a/getpix.service
+++ b/getpix.service
@@ -1 +1,10 @@
-/etc/systemd/system/getpix.service \ No newline at end of file
+[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
+