src.nth.io/

summaryrefslogtreecommitdiff
path: root/mattertimesync.service
blob: fa69907f294967fd66b4e612c8cb865fb4e407b3 (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=mattertimesync
Group=mattertimesync
ExecStart=/usr/bin/node /opt/mattertimesync/mattertimesync.mjs --config /etc/mattertimesync/config.json sync
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/mattertimesync