summaryrefslogtreecommitdiffstats
path: root/init/systemd/ipa.service
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-10-10 15:25:15 +0300
committerMartin Kosek <mkosek@redhat.com>2011-10-24 15:10:11 +0200
commit25d5d7ed939384340c0aa7d00989cbddf4226bcd (patch)
tree3f738da9e1603b5577e1fb2a644b8a3c9a189162 /init/systemd/ipa.service
parentf098b213eb3d2e8e5d47689a226f81a0d1b35262 (diff)
downloadfreeipa-25d5d7ed939384340c0aa7d00989cbddf4226bcd.tar.gz
freeipa-25d5d7ed939384340c0aa7d00989cbddf4226bcd.tar.xz
freeipa-25d5d7ed939384340c0aa7d00989cbddf4226bcd.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