diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/config.example.json | 4 | ||||
| -rw-r--r-- | examples/mattertimectl.service (renamed from examples/mattertimesync.service) | 8 | ||||
| -rw-r--r-- | examples/mattertimectl.timer (renamed from examples/mattertimesync.timer) | 0 |
3 files changed, 6 insertions, 6 deletions
diff --git a/examples/config.example.json b/examples/config.example.json index 831630c..5409179 100644 --- a/examples/config.example.json +++ b/examples/config.example.json @@ -1,6 +1,6 @@ { - "storagePath": "/var/lib/mattertimesync", + "storagePath": "/var/lib/mattertimectl", "timezone": "America/Chicago", "logLevel": "info", - "fabricLabel": "Rust Matter Time Sync" + "fabricLabel": "Rust Matter Time Controller" } diff --git a/examples/mattertimesync.service b/examples/mattertimectl.service index 8fc48c1..43a662b 100644 --- a/examples/mattertimesync.service +++ b/examples/mattertimectl.service @@ -5,11 +5,11 @@ After=network-online.target time-sync.target [Service] Type=oneshot -User=mattertimesync -Group=mattertimesync -ExecStart=/opt/mattertimesync/mattertimesync --config /etc/mattertimesync/config.json sync +User=mattertimectl +Group=mattertimectl +ExecStart=/opt/mattertimectl/mattertimectl --config /etc/mattertimectl/config.json sync NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true -ReadWritePaths=/var/lib/mattertimesync +ReadWritePaths=/var/lib/mattertimectl diff --git a/examples/mattertimesync.timer b/examples/mattertimectl.timer index 4d7b64a..4d7b64a 100644 --- a/examples/mattertimesync.timer +++ b/examples/mattertimectl.timer |
