Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
time.service 434 B
[Unit]
Description=OpenHarmony Time service (SA: 1401 180 3702)
Requires=samgr.service
After=samgr.service
# Logging to hilogd, but seems to work without it
Wants=hilogd.service
After=hilogd.service

[Service]
Type=notify
User=system
Group=system
SupplementaryGroups=shell
CapabilityBoundingSet=CAP_SYS_TIME CAP_WAKE_ALARM
LimitNICE=40
ExecStart=/usr/bin/sa_main /system/profile/time_service.xml

[Install]
WantedBy=multi-user.target