~linuxgoose/bocpress

ref: 874d462b904e85d3867e2e552d6b9f8a1daeeaf7 bocpress/ansible/mataroa.service.j2 -rw-r--r-- 387 bytes
874d462bJordan Robinson fix existing usernames in creation 8 days 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