use a single `/var/lib/barrier` directory

This commit is contained in:
Chris Simons 2020-05-26 19:47:58 -07:00
parent e413c46d78
commit d697db67bb
3 changed files with 7 additions and 7 deletions

View File

@ -33,9 +33,9 @@ Environment=LOG_LEVEL=INFO
# Default display is :0
Environment=DISPLAY=:0
# Store fingerprints in instnace specific directories
Environment=XDG_DATA_HOME=/var/lib/barrier@%i
Environment=XDG_DATA_HOME=/var/lib/barrier/barrier@%i
# TrustedServers.txt Directory
Environment=FP_DIR=/var/lib/barrier@%i/barrier/SSL/Fingerprints
Environment=FP_DIR=/var/lib/barrier/barrier@%i/barrier/SSL/Fingerprints
# Ensure the Fingerprints directory exists
ExecStartPre=mkdir -p "${FP_DIR}"

View File

@ -23,9 +23,9 @@ Environment=LOG_LEVEL=INFO
# Default display is :0
Environment=DISPLAY=:0
# Store SSL data in instance specific directories
Environment=XDG_DATA_HOME=/var/lib/barrier:24800
Environment=XDG_DATA_HOME=/var/lib/barrier/barrier:24800
# SSL data directory
Environment=CERT_DIR=/var/lib/barrier:24800/barrier/SSL
Environment=CERT_DIR=/var/lib/barrier/barrier:24800/barrier/SSL
# Create the certificate directory
ExecStartPre=mkdir -p ${CERT_DIR}

View File

@ -35,9 +35,9 @@ Environment=LOG_LEVEL=INFO
# Default display is :0
Environment=DISPLAY=:0
# Store SSL data in instance specific directories
Environment=XDG_DATA_HOME=/var/lib/barrier%i
Environment=XDG_DATA_HOME=/var/lib/barrier/barrier%i
# SSL data directory
Environment=CERT_DIR=/var/lib/barrier%i/barrier/SSL
Environment=CERT_DIR=/var/lib/barrier/barrier%i/barrier/SSL
# Create the certificate directory
ExecStartPre=mkdir -p ${CERT_DIR}