diff options
| author | user <user@node5.net> | 2024-03-10 21:56:13 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2024-03-10 21:56:13 +0100 |
| commit | 1c70616bcbb909a38b96a45f2c1840f26e0fedd8 (patch) | |
| tree | 1a9f8123a51f948d35739013cfe7a7e4c5a5f5b6 | |
| parent | 7ec0ca85ecf3d9fc59153adcc39d6adfbc648603 (diff) | |
add service file
| -rw-r--r-- | blog.node5.net.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/blog.node5.net.service b/blog.node5.net.service new file mode 100644 index 0000000..d4abf4a --- /dev/null +++ b/blog.node5.net.service @@ -0,0 +1,13 @@ +[Unit] +Description=uWSGI instance to serve blog.node5.net +After=network.target + +[Service] +User=blog +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 + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |
