~linuxgoose/bocpress

ref: 9afdb75f10ced5d9a97480054ebc903171089b4c bocpress/ansible/mataroa.service.j2 -rw-r--r-- 387 bytes
9afdb75fJordan Robinson fix need to use blog_user for public page 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=mataroa
After=network.target

[Service]
Type=simple
User=deploy
Group=www-data
WorkingDirectory=/var/www/mataroa
ExecStart=/home/deploy/.local/bin/uv run gunicorn -b 127.0.0.1:5000 -w 4 --access-logfile - mataroa.wsgi
ExecReload=/bin/kill -HUP $MAINPID
EnvironmentFile=/etc/systemd/system/mataroa.env
TimeoutSec=15
Restart=always

[Install]
WantedBy=multi-user.target