use a single `/var/lib/barrier` directory
This commit is contained in:
parent
e413c46d78
commit
d697db67bb
|
@ -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}"
|
||||
|
||||
|
@ -56,4 +56,4 @@ Restart=always
|
|||
|
||||
[Install]
|
||||
# Install to graphical target
|
||||
WantedBy=graphical.target
|
||||
WantedBy=graphical.target
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue