summaryrefslogtreecommitdiffstats
path: root/smartproxy/ipa-smartproxy.service
diff options
context:
space:
mode:
Diffstat (limited to 'smartproxy/ipa-smartproxy.service')
-rw-r--r--smartproxy/ipa-smartproxy.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/smartproxy/ipa-smartproxy.service b/smartproxy/ipa-smartproxy.service
new file mode 100644
index 00000000..544f55b1
--- /dev/null
+++ b/smartproxy/ipa-smartproxy.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=IPA smartproxy for Foreman
+After=ipa.target
+
+[Service]
+ExecStart=/usr/sbin/ipa-smartproxy -c /etc/ipa/ipa-smartproxy.conf -d -p /var/run/ipa-smartproxy.pid
+ExecReload=/bin/kill -USR1 $MAINPID
+Type=forking
+PIDFile=/var/run/ipa-smartproxy.pid
+
+[Install]
+WantedBy=multi-user.target