core127: ovpn ca index.txt is also missing on some installations

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2019-01-19 17:20:51 +01:00
parent 271bac39a0
commit 2092280a3a

View File

@@ -17,7 +17,7 @@
# along with IPFire; if not, write to the Free Software #
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
# #
# Copyright (C) 2018 IPFire-Team <info@ipfire.org>. #
# Copyright (C) 2019 IPFire-Team <info@ipfire.org>. #
# #
############################################################################
#
@@ -48,10 +48,13 @@ ldconfig
# Regenerate squid configuration file
sudo -u nobody /srv/web/ipfire/cgi-bin/proxy.cgi
# If not exist create ovpn ca index.txt.attr and fix rights
# If not exist create ovpn ca index.txt(.attr) and fix rights
touch /var/ipfire/ovpn/ca/index.txt.attr
chmod 644 /var/ipfire/ovpn/ca/index.txt.attr
chown nobody:nobody /var/ipfire/ovpn/ca/index.txt.attr
touch /var/ipfire/ovpn/ca/index.txt
chmod 644 /var/ipfire/ovpn/ca/index.txt
chown nobody:nobody /var/ipfire/ovpn/ca/index.txt
# Start services
/etc/init.d/unbound restart