dépôts
/
lhc
/
ateliers.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Modifications: etc/nsd3/zone.d/heureux-cyclage.org.zone.m4 - Diminution du TTL en...
[lhc/ateliers.git]
/
etc
/
sv
/
postgres
/
log
/
run
1
#!/bin/sh -eux
2
sv
=
${PWD%/log}
3
sv
=
${sv#/etc/sv/}
4
eval
"home=~
$sv
/log/9.1/main"
5
6
getent passwd log-
"
$sv
"
>/
dev
/
null ||
7
adduser log-
"
$sv
"
\
8
--disabled-login
\
9
--disabled-password
\
10
--group
\
11
--home
"
$home
"
\
12
--shell
/
bin
/
false \
13
--system
14
15
sudo
install
-d -m
2770
-o
postgres
-g
log-postgres \
16
"
$home
"
\
17
"
$home
"
/
9.1
\
18
"
$home
"
/
9.1
/
main
19
20
cd
"
$home
"
21
exec
chpst
-u
log-
"
$sv
"
:
log-
"
$sv
"
\
22
svlogd
-v -tt
"
$home
"