Skip to content
Snippets Groups Projects
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