summaryrefslogtreecommitdiff
path: root/editpix.service
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2017-01-14 20:18:48 +1100
committerst33v <github@f3rr3t.com>2017-01-14 20:18:48 +1100
commitd72da01ade32b492103365c8e9161ff18c34ab23 (patch)
tree9be25558ddb792609ff200db9639136836e7ddbf /editpix.service
parent331d0b15cef576cdad238e1c1a3ae6d35e18aa1a (diff)
working script and systemd path/service combo
Diffstat (limited to 'editpix.service')
-rw-r--r--editpix.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/editpix.service b/editpix.service
new file mode 100644
index 0000000..21c7083
--- /dev/null
+++ b/editpix.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=edit and copy pix to webserver
+
+[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/editpix.sh
+