diff options
author | Tomas Babej <tbabej@redhat.com> | 2013-06-05 15:48:35 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-06-06 18:16:59 +0200 |
commit | b2c378dcc8221dbf254b0cd0b204e84f0d0eeebf (patch) | |
tree | b3a6a6c831f50b8aac50599bfcdc6ad2620e396d /ipaserver/install/otpdinstance.py | |
parent | bcf8ab24d5c8fefdaaf49a50ddce6f8fc8702be1 (diff) | |
download | freeipa-b2c378dcc8221dbf254b0cd0b204e84f0d0eeebf.tar.gz freeipa-b2c378dcc8221dbf254b0cd0b204e84f0d0eeebf.tar.xz freeipa-b2c378dcc8221dbf254b0cd0b204e84f0d0eeebf.zip |
Manage ipa-otpd.socket by IPA
Adds a new simple service called OtpdInstance, that manages
ipa-otpd.socket service. Added to server/replica installer
and ipa-upgradeconfig script.
https://fedorahosted.org/freeipa/ticket/3680
Diffstat (limited to 'ipaserver/install/otpdinstance.py')
-rw-r--r-- | ipaserver/install/otpdinstance.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ipaserver/install/otpdinstance.py b/ipaserver/install/otpdinstance.py new file mode 100644 index 000000000..2eed3f8a2 --- /dev/null +++ b/ipaserver/install/otpdinstance.py @@ -0,0 +1,25 @@ +# Authors: Tomas Babej <tbabej@redhat.com> +# +# Copyright (C) 2013 Red Hat +# see file 'COPYING' for use and warranty information +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# + +import service + + +class OtpdInstance(service.SimpleServiceInstance): + def __init__(self): + service.SimpleServiceInstance.__init__(self, "ipa-otpd")
\ No newline at end of file |