summaryrefslogtreecommitdiffstats
path: root/roles/loopabull/files/loopabull@.service
diff options
context:
space:
mode:
authorAdam Miller <admiller@redhat.com>2017-06-01 22:42:23 +0000
committerAdam Miller <admiller@redhat.com>2017-06-01 22:42:23 +0000
commitb4c2cf8881a6b19a7e88c48e98ae548ae703abe9 (patch)
tree266a921e33b8b2bc7293835c6ace33d38eccfe9b /roles/loopabull/files/loopabull@.service
parentc422fb5bfc8e15b0f0214c84c8cdd405b9ff2cc1 (diff)
downloadansible-b4c2cf8881a6b19a7e88c48e98ae548ae703abe9.tar.gz
ansible-b4c2cf8881a6b19a7e88c48e98ae548ae703abe9.tar.xz
ansible-b4c2cf8881a6b19a7e88c48e98ae548ae703abe9.zip
helps to actually commit the file to git
Signed-off-by: Adam Miller <admiller@redhat.com>
Diffstat (limited to 'roles/loopabull/files/loopabull@.service')
-rw-r--r--roles/loopabull/files/loopabull@.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/loopabull/files/loopabull@.service b/roles/loopabull/files/loopabull@.service
new file mode 100644
index 000000000..043c55576
--- /dev/null
+++ b/roles/loopabull/files/loopabull@.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=loopabull worker #%i
+After=network.target
+Documentation=https://github.com/maxamillion/loopabull
+
+[Service]
+ExecStart=/usr/bin/loopabull $CONFIG_FILE
+User=root
+Group=root
+Restart=on-failure
+Type=simple
+EnvironmentFile=-/etc/sysconfig/loopabull
+Restart=on-failure
+PrivateTmp=yes
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file