Fix errors in install script
This commit is contained in:
parent
beb16b0fc8
commit
b1b1cb25c6
@ -17,10 +17,10 @@ fi
|
|||||||
|
|
||||||
echo "Copying Systemd units and drop-ins to system directory..."
|
echo "Copying Systemd units and drop-ins to system directory..."
|
||||||
$sudo cp $run_directory/etc-letsencrypt.mount /etc/systemd/system/
|
$sudo cp $run_directory/etc-letsencrypt.mount /etc/systemd/system/
|
||||||
if [ ! -d /etc/systemd/systemd-cryptsetup@lecrypt.service.d ]; then
|
if [ ! -d /etc/systemd/system/systemd-cryptsetup@lecrypt.service.d ]; then
|
||||||
$sudo mkdir /etc/systemd/system/systemd-cryptsetup@lecrypt.service.d
|
$sudo mkdir /etc/systemd/system/systemd-cryptsetup@lecrypt.service.d
|
||||||
fi
|
fi
|
||||||
$sudo cp $run_directory/timeout.conf /etc/systemd/system/systemd-cryptsetup@lecrypt/
|
$sudo cp $run_directory/timeout.conf /etc/systemd/system/systemd-cryptsetup@lecrypt.service.d/
|
||||||
if [ ! -d /etc/systemd/system/nginx.service.d ]; then
|
if [ ! -d /etc/systemd/system/nginx.service.d ]; then
|
||||||
$sudo mkdir /etc/systemd/system/nginx.service.d
|
$sudo mkdir /etc/systemd/system/nginx.service.d
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user