summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-02-20 18:50:45 +0100
committermakefu <github@syntax-fehler.de>2014-02-20 18:50:45 +0100
commit3843ad66568d099e2b0bb2f7158753066b69c965 (patch)
tree299f7e38776ea8b3f8114979170e1f88fbf09fce /retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service
parentf46851de1af7c044471523c40e0fe88579b8a997 (diff)
parent3ed35ed3e1efa4f741c0913efc90c9c36eb32d01 (diff)
Merge branch 'master' of ssh://github.com/krebscode/painload
Diffstat (limited to 'retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service')
-rw-r--r--retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service b/retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service
new file mode 100644
index 00000000..5fb9ed41
--- /dev/null
+++ b/retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=retiolum github hosts sync
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/hosts-sync.conf
+ExecStart=/krebs/retiolum/scripts/github_hosts_sync/hosts-sync
+KillMode=process
+User=hosts-sync
+Group=hosts-sync
+
+[Install]
+WantedBy=multi-user.target
+