post_install() { : #!/bin/sh systemctl daemon-reload systemctl enable v2raya systemctl start v2raya echo -e "\033[36m**************************************\033[0m" echo -e "\033[36m* Congratulations! *\033[0m" echo -e "\033[36m* HTTPS demo: https://v2raya.mzz.pub *\033[0m" echo -e "\033[36m* HTTP demo: http://v.mzz.pub *\033[0m" echo -e "\033[36m**************************************\033[0m" } post_upgrade() { : #!/bin/sh systemctl daemon-reload systemctl restart v2raya echo -e "\033[36m**************************************\033[0m" echo -e "\033[36m* Congratulations! *\033[0m" echo -e "\033[36m* HTTPS demo: https://v2raya.mzz.pub *\033[0m" echo -e "\033[36m* HTTP demo: http://v.mzz.pub *\033[0m" echo -e "\033[36m**************************************\033[0m" } pre_remove() { : #!/bin/sh systemctl disable v2raya systemctl stop v2raya systemctl stop v2ray } post_remove() { : #!/bin/sh systemctl daemon-reload }