make sure we can create default burp CA

This commit is contained in:
ziirish 2020-01-05 23:48:17 +01:00
parent 23b17624f7
commit 7787f83c76
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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