diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-06 16:23:19 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-10-06 16:23:19 +0000 |
| commit | 4da6b9c320e6b49d38af5cb6b5861480141f24cd (patch) | |
| tree | c920b72f5f291a29a71ca009ce113e4846b8a217 /examples/ROOT/img/services-network/ntpclient/run | |
| parent | 478dd24279f833042a94590df0726d163b576af5 (diff) | |
| download | s6-4da6b9c320e6b49d38af5cb6b5861480141f24cd.tar.gz | |
- add -s support to s6-svscan
- change examples to support -s
- change examples to invoke s6-rc, remove servicedirs
Diffstat (limited to 'examples/ROOT/img/services-network/ntpclient/run')
| -rwxr-xr-x | examples/ROOT/img/services-network/ntpclient/run | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/ROOT/img/services-network/ntpclient/run b/examples/ROOT/img/services-network/ntpclient/run deleted file mode 100755 index 7ade064..0000000 --- a/examples/ROOT/img/services-network/ntpclient/run +++ /dev/null @@ -1,19 +0,0 @@ -#!/command/execlineb -P - -fdmove -c 2 1 -if -{ - pipeline - { - s6-setuidgid ntp - backtick -n NTPSERVERIP - { - pipeline { s6-dnsip4 -t 16000 0.fr.pool.ntp.org. } - s6-head -n 1 - } - s6-sntpclock -v $NTPSERVERIP - } - s6-clockadd -} -s6-setuidgid nobody -s6-sleep 14400 |
