I run a service on my Manjaro machine which reports system information, patch status, etc. back to a central LabTech monitoring server. If I run it directly with the command
/home/[username]/ltechagent/ltechagent start, it runs as expected. It does not exit unexpectedly, and appears in the process table as "ltechagent".
I created a systemd service file called labtech.service to manage the LabTech Agent, but found that when I attempt to start it using
systemctl start labtech, the process never appears in the process table, and the ltechagent log shows
(agent.c:73) Received sigterm. Shutting down the agent within a second or two of starting the service. I have tried setting TimeOutSec, but this does not appear to have any effect.
[Unit] Description = LabTech Agent [Service] ExecStart = /home/[username]/ltechagent/ltechagent start [Install] WantedBy = multi-user.target
Thanks in advance for any insight you might have!