dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modification : vm_hosted : insserv -> runit .
[lhc/ateliers.git]
/
etc
/
sv
/
ntp
/
run
diff --git a/etc/sv/ntp/run
b/etc/sv/ntp/run
new file mode 100755
(executable)
index 0000000..
f99231e
--- /dev/null
+++ b/
etc/sv/ntp/run
@@ -0,0
+1,9
@@
+#!/bin/sh -eux
+exec 2>&1
+sv=${PWD#/etc/sv/}
+exec /usr/sbin/ntpd \
+ -c /etc/ntp.conf \
+ -g \
+ -I 127.0.0.1 \
+ -n \
+ -u ntp:ntp