-
Esben Haabendal authored
With the removal of all services from the openharmony-preinit script, this is now a proper oneshot service, and can/must be run before starting the actual services. The goal is still to get rid if this script completely. Anything it does that is actually needed should be moved to the appropriate OH service unit files.
Esben Haabendal authoredWith the removal of all services from the openharmony-preinit script, this is now a proper oneshot service, and can/must be run before starting the actual services. The goal is still to get rid if this script completely. Anything it does that is actually needed should be moved to the appropriate OH service unit files.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
samgr.service 578 B
[Unit]
Description=OpenHarmony SystemAbilityFramework service
# Logging to hilogd, but seems to work without it
Wants=hilogd.service
After=hilogd.service
# HACK: this dependency is just to have it openharmony-preinit run before most
# other OH services until we have gotten rid of it completely.
Wants=openharmony-preinit.service
After=openharmony-preinit.service
[Service]
Type=notify
ExecStartPre=!install -m 755 -o system -g system -d /data/sadata_de /data/sadata_de/samgr
User=system
Group=system
ExecStart=/usr/bin/samgr
LimitNICE=40
[Install]
WantedBy=multi-user.target