Verified Commit 1f9a278b authored by BTCxZelko's avatar BTCxZelko
Browse files

Added logic for tor/docker override.conf

parents 430fe225 9931f914
......@@ -123,7 +123,7 @@ _systemd_unit_drop_in_check() {
for x in docker tor; do
if [ ! -f "/etc/systemd/system/${x}.service.d/override.conf" ]; then
sudo mkdir "/etc/systemd/system/${x}.service.d"
test -d "/etc/systemd/system/${x}.service.d" || sudo mkdir "/etc/systemd/system/${x}.service.d"
if [ -f "/etc/systemd/system/${systemd_mountpoint}.mount" ]; then
sudo bash -c "cat <<EOF >/etc/systemd/system/${x}.service.d/override.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