diff options
| author | Alexander Bokovoy <abokovoy@redhat.com> | 2011-10-10 15:25:15 +0300 |
|---|---|---|
| committer | Martin Kosek <mkosek@redhat.com> | 2011-10-24 15:10:11 +0200 |
| commit | 25d5d7ed939384340c0aa7d00989cbddf4226bcd (patch) | |
| tree | 3f738da9e1603b5577e1fb2a644b8a3c9a189162 /ipa.init | |
| parent | f098b213eb3d2e8e5d47689a226f81a0d1b35262 (diff) | |
| download | freeipa-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 'ipa.init')
| -rwxr-xr-x | ipa.init | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ipa.init b/ipa.init deleted file mode 100755 index ead7df008..000000000 --- a/ipa.init +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# ipa This starts and stops ipa controlled daemons -# -# chkconfig: - 21 79 -# description: IPA Server -# configdir: /etc/ipa/ -# - -export SYSTEMCTL_SKIP_REDIRECT=1 - -# Source function library. -if [ -f /etc/rc.d/init.d/functions ] ; then -. /etc/rc.d/init.d/functions -fi -# Source networking configuration. -if [ -f /etc/sysconfig/network ] ; then -. /etc/sysconfig/network -fi - -# Check that networking is up. -if [ "${NETWORKING}" = "no" ] -then - echo "Networking is down" - exit 0 -fi - -case "$1" in - start|stop|restart|status) - /usr/sbin/ipactl $1 - ;; - condrestart) - /sbin/service dirsrv status - RETVAL=$? - [ $RETVAL = 0 ] && /usr/sbin/ipactl restart - ;; - *) - echo "Usage: $0 {start|stop|status|restart|condrestart}" - exit 2 -esac |
