2014-07-16 03:06:18 +00:00
|
|
|
post_install(){
|
2016-10-10 12:37:22 +00:00
|
|
|
command -v systemd-tmpfiles && systemd-tmpfiles --create /usr/lib/tmpfiles.d/uwsgi.conf
|
2014-07-16 03:06:18 +00:00
|
|
|
}
|
|
|
|
post_update(){
|
|
|
|
echo "To use uwsgi@.socket and uwsgi@.service:"
|
|
|
|
echo "\tAll you need to do is put the name of your .ini file after the @ sign"
|
|
|
|
echo "\tYou can use either the .socket or .service, but if you use the .socket"
|
|
|
|
echo "\tuwsgi@<sameinifile>.service won't be started until the first time your http"
|
|
|
|
echo "\tserver touches the socket. You will also not need to specify the socket in"
|
|
|
|
echo "\tthe .ini file or in the .service file. Systemd will handle listening to"
|
|
|
|
echo "\tthe socket for you."
|
|
|
|
}
|