summaryrefslogtreecommitdiff
path: root/community/uwsgi/uwsgi.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/uwsgi/uwsgi.install')
-rw-r--r--community/uwsgi/uwsgi.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/uwsgi/uwsgi.install b/community/uwsgi/uwsgi.install
new file mode 100644
index 000000000..605d7fe2d
--- /dev/null
+++ b/community/uwsgi/uwsgi.install
@@ -0,0 +1,11 @@
+post_install(){
+ 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."