summaryrefslogtreecommitdiffstats
path: root/init/systemd/ipa.service
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-10-10 15:25:15 +0300
committerSimo Sorce <ssorce@redhat.com>2011-10-13 15:04:13 -0400
commit04ba21aaca9c376abab36cf75d764507a3b14802 (patch)
tree505d2b61d1731fe62a019e679df93ff6bf070893 /init/systemd/ipa.service
parent789b560a5786b02bd210f90c5b75b18b3ca609b3 (diff)
downloadfreeipa-04ba21aaca9c376abab36cf75d764507a3b14802.tar.gz
freeipa-04ba21aaca9c376abab36cf75d764507a3b14802.tar.xz
freeipa-04ba21aaca9c376abab36cf75d764507a3b14802.zip
Add support for systemd environments and use it to support Fedora 16
https://fedorahosted.org/freeipa/ticket/1192
Diffstat (limited to 'init/systemd/ipa.service')
-rw-r--r--init/systemd/ipa.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/init/systemd/ipa.service b/init/systemd/ipa.service
new file mode 100644
index 000000000..ba27d1dfd
--- /dev/null
+++ b/init/systemd/ipa.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Identity, Policy, Audit
+Requires=syslog.target network.target
+After=syslog.target network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/ipactl start
+ExecStop=/usr/sbin/ipactl stop
+RemainAfterExit=yes
+TimeoutSec=0
+
+[Install]
+WantedBy=multi-user.target