Sign in
nginx
/
nginx-pkgoss
/
4a5dcc211193d6b40c5a1d4fd0dbd880c9d668ab
/
.
/
alpine
/
nginx.post-upgrade
blob: 85c030ab728f50f67d0cecd5c86ebd8bb152fe6e [
file
] [
log
] [
blame
]
#!/bin/sh
if
[
-
x
/
etc
/
init
.
d
/
nginx
];
then
if
[
-
f
/
var
/
run
/
nginx
.
pid
];
then
NGX_PID
=
`cat /var/run/nginx.pid`
if
kill
-
s
0
$NGX_PID
2
>/
dev
/
null
;
then
service nginx upgrade
||
true
fi
fi
fi