diff --git a/install.sh b/install.sh index 93018ae..690807c 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,8 @@ #!/bin/bash -curl -sL https://github.com/gitsang/lxc-iptag/releases/download/v1.0.0/lxc-iptag -o /usr/local/bin/lxc-iptag -cp lxc-iptag /usr/local/bin -cp lxc-iptag.service /lib/systemd/system/ +curl -sSL https://raw.githubusercontent.com/gitsang/lxc-iptag/main/lxc-iptag -o /usr/local/bin/lxc-iptag +curl -sSL https://raw.githubusercontent.com/gitsang/lxc-iptag/main/lxc-iptag.service -o /lib/systemd/system/lxc-iptag.service + +sudo systemctl daemon-reload +sudo systemctl enable lxc-iptag.service +sudo systemctl start lxc-iptag.service