Add `systemctl daemon-reload`

necessary for updating systemd unit files.
pull/81/head
IceCodeNew 2020-09-05 11:06:48 +08:00
parent 2235098bc6
commit 94ae72d399
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ WantedBy=multi-user.target
EOF EOF
install -m 644 "${TMP_DIRECTORY}/systemd/system/v2ray.service" /etc/systemd/system/v2ray.service install -m 644 "${TMP_DIRECTORY}/systemd/system/v2ray.service" /etc/systemd/system/v2ray.service
install -m 644 "${TMP_DIRECTORY}/systemd/system/v2ray@.service" /etc/systemd/system/v2ray@.service install -m 644 "${TMP_DIRECTORY}/systemd/system/v2ray@.service" /etc/systemd/system/v2ray@.service
systemctl daemon-reload
SYSTEMD='1' SYSTEMD='1'
} }