make sure we can create default burp CA

parent 23b17624
Pipeline #1730 passed with stages
in 10 minutes and 33 seconds
......@@ -34,7 +34,7 @@ hardlinked_archive = 0
working_dir_recovery_method = delete
umask = 0022
syslog = 1
stdout = 0
stdout = 1
# The following options can restrict what the client can do.
# Restore clients can override all of these expect for force_backup.
client_can_delete = 1
......@@ -72,8 +72,8 @@ keep = 7
# keep = 6
# Run as different user/group.
# user = burp
# group = backup
user = burp
group = burp
# CA options.
# If you want your server to be a certificate authority and generate its own
......
......@@ -23,6 +23,11 @@ appStart () {
pidfile=$(grep -E "^pidfile" /etc/burp/burp-server.conf | sed -r "s/^pidfile *= *(.*)$/\1/")
[ -n "$pidfile" ] && touch $pidfile && chown burp: $pidfile
[ "$(ls /var/lib/burp | wc -l)" -eq 0 ] && {
mkdir -p /var/lib/burp/ssl/client /var/lib/burp/ssl/server
chown -R burp: /var/lib/burp
}
# start supervisord
/usr/bin/supervisord -c /etc/supervisord.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment