From d72da01ade32b492103365c8e9161ff18c34ab23 Mon Sep 17 00:00:00 2001 From: st33v Date: Sat, 14 Jan 2017 20:18:48 +1100 Subject: working script and systemd path/service combo --- editpix.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 editpix.service (limited to 'editpix.service') 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 + -- cgit v1.3