src.nth.io/

summaryrefslogtreecommitdiff
path: root/mattertimectl/controller/templates/mattertimectl.service.j2
blob: 96cbeeeb7b9e46e5869f21c3a84996f63b5d78cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Matter device clock synchronization
Wants=network-online.target
After=network-online.target time-sync.target

[Service]
Type=oneshot
User={{mattertimectl_user}}
Group={{mattertimectl_user}}
ExecStart={{mattertimectl_install_dir}}/mattertimectl --config {{mattertimectl_config_dir}}/config.json sync
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths={{mattertimectl_storage_path}}