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]