From b1bc74104d87466211b54f8abfd17b305f965fba Mon Sep 17 00:00:00 2001 From: next-autumn Date: Tue, 13 Apr 2021 10:41:33 +0800 Subject: [PATCH] enable caddy --- ProxySU_Core/Models/Developers/Project.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ProxySU_Core/Models/Developers/Project.cs b/ProxySU_Core/Models/Developers/Project.cs index 93e69aa..69a2f7b 100644 --- a/ProxySU_Core/Models/Developers/Project.cs +++ b/ProxySU_Core/Models/Developers/Project.cs @@ -400,6 +400,7 @@ namespace ProxySU_Core.Models.Developers RunCmd("curl -o caddy_install.sh https://raw.githubusercontent.com/proxysu/shellscript/master/Caddy-Naive/caddy-naive-install.sh"); RunCmd("yes | bash caddy_install.sh"); RunCmd("rm -rf caddy_install.sh"); + RunCmd("systemctl enable caddy.service"); } protected void UninstallCaddy()