src.nth.io/

summaryrefslogtreecommitdiff
path: root/mattertimesync/server/templates/mattertimesync.service.j2
blob: e47cc3597a59fc52ac61e188fd76901b852b4c1f (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_user}}
Group={{mattertimesync_user}}
ExecStart=/usr/bin/node {{mattertimesync_install_dir}}/mattertimesync.mjs --config {{mattertimesync_config_dir}}/config.json sync
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths={{mattertimesync_storage_path}}