add unistaller, update installer

这个提交包含在:
AJ ONeal 2018-05-26 07:40:17 +00:00
父节点 f74b95909f
当前提交 45aa3a4686
共有 2 个文件被更改,包括 5 次插入2 次删除

查看文件

@ -202,7 +202,7 @@ echo "=============================================="
echo " Privacy Settings in Config"
echo "=============================================="
echo ""
echo "The example config file /etc/telebit/telebitd.yml opts-in to"
echo "The example config file /etc/$my_user/$my_app.yml opts-in to"
echo "contributing telemetrics and receiving infrequent relevant updates"
echo "(probably once per quarter or less) such as important notes on"
echo "a new release, an important API change, etc. No spam."
@ -219,7 +219,7 @@ echo "=============================================="
echo ""
echo "Edit the config and restart, if desired:"
echo ""
echo " sudo vim /etc/telebit/telebitd.yml"
echo " sudo vim /etc/$my_user/$my_app.yml"
echo " sudo systemctl restart $my_app"
echo ""
echo "Or disabled the service and start manually:"

查看文件

@ -0,0 +1,3 @@
rm -rf /opt/telebitd/ /etc/system/systemd/telebitd.service /etc/telebit/ /usr/local/bin/telebitd
userdel -r telebit
groupdel telebit