summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-02-20 08:34:00 +0100
committermakefu <root@pigstarter.de>2014-02-20 08:34:00 +0100
commitcb5d60a7c73333d0ca6ad4c814670be1a8ca6792 (patch)
treef6c8e0f35122b49380cff3b270bdd5165083364c /retiolum/scripts/github_hosts_sync/systemd/hosts-sync.service
parentfac7133f6dcc2aeb7083ad2971c1e7836b4a2453 (diff)
parent3ed35ed3e1efa4f741c0913efc90c9c36eb32d01 (diff)
Merge branch 'master' of https://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
+