update/software/service-files/software-agent.service
Luis Eduardo Bonatti b9d94f1879 Set software-controller-daemon and software-agent under pmon
This commit add software-controller-daemon and software-agent under
pmon monitor.

Test Plan:
PASS: Kill software-controller-daemon process, verify it is started
by pmon.
PASS: Kill software-agent process, verify it is started by pmon.
PASS: pmon-restart, -stop, -start
PASS: DX install with couple lock/unlock/swact
PASS: SX install with couple lock/unlock
PASS: No error on pmon.log during the tests above

Story: 2010676
Task: 50508

Change-Id: Ifb57ac78bce7f4976418a550668d1d07aae92ecf
Signed-off-by: Luis Eduardo Bonatti <LuizEduardo.Bonatti@windriver.com>
2024-07-24 10:56:00 -03:00

19 lines
420 B
Desktop File

[Unit]
Description=Unified Software Management Agent
After=syslog.target network-online.target software.service
Before=pmon.service
[Service]
Type=forking
User=root
ExecStart=/etc/init.d/software-agent start
ExecStop=/etc/init.d/software-agent stop
ExecReload=/etc/init.d/software-agent restart
PIDFile=/var/run/software-agent.pid
# process recovery is handled by pmon
Restart=no
[Install]
WantedBy=multi-user.target