Files
update/software/service-files/software-controller-daemon.service
Luiz Eduardo Bonatti f8c624ee0a Remove software.service
This commit removes the software.service and references in the code
related to this service.

Test Plan:
PASS: AIO-SX install.
PASS: Check no alarms raised.
PASS: Service not present in the host.

Change-Id: I0d1a756c0447815a032a6f19dcaeaf5dfa3f5198
Signed-off-by: Luiz Eduardo Bonatti <LuizEduardo.Bonatti@windriver.com>
2025-11-25 14:28:53 -03:00

29 lines
896 B
Desktop File

[Unit]
Description=Unified Software Management Controller Daemon
After=syslog.target network-online.target software-controller.service
Before=pmon.service
[Service]
Type=forking
User=root
ExecStart=/etc/init.d/software-controller-daemon start
ExecStop=/etc/init.d/software-controller-daemon stop
ExecReload=/etc/init.d/software-controller-daemon restart
PIDFile=/var/run/software-controller-daemon.pid
# process recovery is handled by pmon
Restart=no
# cgroup performance engineering
# - software-controller-daemon.service does not provide latency critical service
# - several processes are 100% cpu hog and use significant disk IO
# (eg, sysinv-app, system CLI, ansible-playbooks, etc)
# - set 1/8th default share
# - set lower IO priority (effective only with 'bfq' scheduler)
CPUShares=128
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
[Install]
WantedBy=multi-user.target