From 67ceccc92b2ef7db340e8ae3a4e35f32601f25ca Mon Sep 17 00:00:00 2001 From: InkerBot Date: Mon, 17 Jun 2024 05:06:45 +0800 Subject: [PATCH] update agent path --- teamcityagent.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teamcityagent.service b/teamcityagent.service index 6759edb..939432d 100644 --- a/teamcityagent.service +++ b/teamcityagent.service @@ -5,8 +5,8 @@ After=network.target Type=oneshot User=root Group=root -ExecStart=/root/agent/bin/agent.sh start -ExecStop=-/root/agent/bin/agent.sh stop +ExecStart=/opt/agent/bin/agent.sh start +ExecStop=-/opt/agent/bin/agent.sh stop RemainAfterExit=yes SuccessExitStatus=0 143 [Install]