blob: 6ca46e258a7d87540842d317de1cc4ce089aeb26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Connman NTP service
Requires=connman.service
After=connman.service
[Service]
Type=oneshot
ExecStart=/bin/bash -c "dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Clock.SetProperty string:'TimeUpdates' variant:string:'auto'"
ExecStop=/bin/bash -c "dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Clock.SetProperty string:'TimeUpdates' variant:string:'manual'"
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
|