about summary refs log tree commit diff
path: root/blog.node5.net.service
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-03-11 12:28:46 +0100
committeruser <user@node5.net>2024-03-11 12:28:46 +0100
commit6fcf8ca158d3c3acdb35ac30a0e8d2157f653212 (patch)
treeab9b381a64a2201c7df627a9630404a04bcfc530 /blog.node5.net.service
parent88860e51d4c69dfcc5086fd14db2e6c3b2b6d828 (diff)
service - add reload functionality
Diffstat (limited to 'blog.node5.net.service')
-rw-r--r--blog.node5.net.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/blog.node5.net.service b/blog.node5.net.service
index d4abf4a..24298bf 100644
--- a/blog.node5.net.service
+++ b/blog.node5.net.service
@@ -8,6 +8,7 @@ Group=www-data
 WorkingDirectory=/opt/blog.node5.net_flask
 Environment="PATH=/opt/blog.node5.net_flask/venv/bin"
 ExecStart=/opt/blog.node5.net_flask/venv/bin/uwsgi --ini uwsgi.ini
+ExecReload=/usr/bin/kill -1 $MAINPID
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file