5 |
panel_link("phpki", 'manager'); |
panel_link("phpki", 'manager'); |
6 |
|
|
7 |
# Events links |
# Events links |
8 |
+event_link("phpki-fixtakey, qw(bootstrap-console-save post-upgrade), "50"); |
+event_link("phpki-fixtakey", qw(bootstrap-console-save post-upgrade), "50"); |
9 |
event_link("phpki-fixownership", qw(bootstrap-console-save post-upgrade), "02"); |
event_link("phpki-fixownership", qw(bootstrap-console-save post-upgrade), "02"); |
10 |
templates2events("/etc/httpd/pki-conf/httpd.conf", qw(bootstrap-console-save conf-userpanel domain-modify)); |
templates2events("/etc/httpd/pki-conf/httpd.conf", qw(bootstrap-console-save conf-userpanel domain-modify)); |
11 |
safe_symlink("sigusr1", "root/etc/e-smith/events/conf-userpanel/services2adjust/httpd-pki"); |
safe_symlink("sigusr1", "root/etc/e-smith/events/conf-userpanel/services2adjust/httpd-pki"); |
13 |
|
|
14 |
#action specific to this package |
#action specific to this package |
15 |
event_link("phpki-fixownership", $event, "02"); |
event_link("phpki-fixownership", $event, "02"); |
16 |
+event_link("phpki-fixtakey, $event, "50"); |
+event_link("phpki-fixtakey", $event, "50"); |
17 |
#event_link("conf-timezone", $event, "30"); |
#event_link("conf-timezone", $event, "30"); |
18 |
#services we need to restart |
#services we need to restart |
19 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-pki"); |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-pki"); |
37 |
my $pool_name = lc $key; |
my $pool_name = lc $key; |
38 |
my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data:/usr/share/php"; |
my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data:/usr/share/php"; |
39 |
- my $open_basedir = "/opt/phpki:/var/lib/php/phpki:$include_path"; |
- my $open_basedir = "/opt/phpki:/var/lib/php/phpki:$include_path"; |
40 |
+ my $open_basedir = "/opt/phpki:/var/lib/php/phpki:/usr/sbin/openvpn:$include_path"; |
+ my $open_basedir = "/opt/phpki:/var/lib/php/phpki:/usr/sbin/openvpn:/usr/bin/which:/usr/bin/cat:/usr/bin/egrep:$include_path"; |
41 |
my $disabled_functions = 'show_source,dl,passthru' |
my $disabled_functions = 'show_source,dl,passthru' |
42 |
; |
; |
43 |
# Format vars |
# Format vars |