-
Francesco Pham authored
Adding `Restart=on-failure` to all openharmony services weston service is hanging at startup (SIGHUP) on raspberrypi4-64 adding `Restart=always` to systemd unit to restart weston service when hanging. `Restart=on-failure` is not enough here. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
Francesco Pham authoredAdding `Restart=on-failure` to all openharmony services weston service is hanging at startup (SIGHUP) on raspberrypi4-64 adding `Restart=always` to systemd unit to restart weston service when hanging. `Restart=on-failure` is not enough here. Signed-off-by:
Francesco Pham <francesco.pham@huawei.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
faultloggerd.service 539 B
[Unit]
Description=OpenHarmony FaultLogger daemon
[Service]
Type=notify
ExecStartPre=!install -o root -g system -m 0755 -d /run/openharmony/faultlogger
ExecStartPre=!install -o system -g log -m 0770 -d /data/log
ExecStartPre=!install -o system -g system -m 0770 -d /data/log/faultlog
ExecStartPre=!install -o system -g system -m 0770 -d /data/log/faultlog/temp
User=root
Group=system
SupplementaryGroups=log
ExecStart=/usr/bin/faultloggerd
Restart=on-failure
StartLimitInterval=300
StartLimitBurst=5
[Install]
WantedBy=multi-user.target