summaryrefslogtreecommitdiffstats
path: root/install/restart_scripts
diff options
context:
space:
mode:
authorXiao-Long Chen <chenxiaolong@cxl.epac.to>2013-11-27 14:53:57 +0100
committerMartin Kosek <mkosek@redhat.com>2014-01-03 09:46:05 +0100
commit5e96fbc22afa02f08f71513e7b59d3d5c6a1f9dc (patch)
treedfca5a74b65ee88f7e9ccb868bc7c99b01f739af /install/restart_scripts
parent2a2f5ac4e68ed9a819ddc3de1d35366b2e2b58c7 (diff)
downloadfreeipa-5e96fbc22afa02f08f71513e7b59d3d5c6a1f9dc.tar.gz
freeipa-5e96fbc22afa02f08f71513e7b59d3d5c6a1f9dc.tar.xz
freeipa-5e96fbc22afa02f08f71513e7b59d3d5c6a1f9dc.zip
Use /usr/bin/python2
Part of the effort to port FreeIPA to Arch Linux, where Python 3 is the default. FreeIPA hasn't been ported to Python 3, so the code must be modified to run /usr/bin/python2 https://fedorahosted.org/freeipa/ticket/3438 Updated by pviktori@redhat.com
Diffstat (limited to 'install/restart_scripts')
-rw-r--r--install/restart_scripts/renew_ca_cert2
-rw-r--r--install/restart_scripts/renew_ra_cert2
-rw-r--r--install/restart_scripts/restart_dirsrv2
-rw-r--r--install/restart_scripts/restart_httpd2
-rw-r--r--install/restart_scripts/restart_pkicad2
-rw-r--r--install/restart_scripts/stop_pkicad2
6 files changed, 6 insertions, 6 deletions
diff --git a/install/restart_scripts/renew_ca_cert b/install/restart_scripts/renew_ca_cert
index ab394b970..714a79d7c 100644
--- a/install/restart_scripts/renew_ca_cert
+++ b/install/restart_scripts/renew_ca_cert
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>
diff --git a/install/restart_scripts/renew_ra_cert b/install/restart_scripts/renew_ra_cert
index e541e4ba4..919f8fc41 100644
--- a/install/restart_scripts/renew_ra_cert
+++ b/install/restart_scripts/renew_ra_cert
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>
diff --git a/install/restart_scripts/restart_dirsrv b/install/restart_scripts/restart_dirsrv
index a9bb897ba..9b22d08c1 100644
--- a/install/restart_scripts/restart_dirsrv
+++ b/install/restart_scripts/restart_dirsrv
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>
diff --git a/install/restart_scripts/restart_httpd b/install/restart_scripts/restart_httpd
index 96f80bd8e..16a41ee5b 100644
--- a/install/restart_scripts/restart_httpd
+++ b/install/restart_scripts/restart_httpd
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>
diff --git a/install/restart_scripts/restart_pkicad b/install/restart_scripts/restart_pkicad
index a58c3f31e..3fe09e7ac 100644
--- a/install/restart_scripts/restart_pkicad
+++ b/install/restart_scripts/restart_pkicad
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>
diff --git a/install/restart_scripts/stop_pkicad b/install/restart_scripts/stop_pkicad
index c8589b286..9c24a99e4 100644
--- a/install/restart_scripts/stop_pkicad
+++ b/install/restart_scripts/stop_pkicad
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>