lxc-iptag/uninstall.sh
sang 33d24b869b docs(readme): Add uninstall guide
MODIFIED:
	README.md

NEW:
	uninstall.sh
2025-01-16 15:24:02 +08:00

13 lines
239 B
Bash

#!/bin/bash
set -xe
# stop lxc-iptag
systemctl stop lxc-iptag.service
systemctl disable lxc-iptag.service
# remove lxc-iptag
rm -f /lib/systemd/system/lxc-iptag.service
rm -f /usr/local/etc/lxc-iptag.conf
rm -f /usr/local/bin/lxc-iptag