mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
12 lines
642 B
Text
12 lines
642 B
Text
post_install(){
|
|
command -v systemd-tmpfiles && systemd-tmpfiles --create /usr/lib/tmpfiles.d/uwsgi.conf
|
|
}
|
|
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."
|
|
}
|