feat: update install script

This commit is contained in:
sang 2024-07-19 16:35:49 +08:00
parent 31046758da
commit c5f1bb4b69

View File

@ -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