~linuxgoose/bocpress

ref: 59e1e4a7abc00dc5031b1dd32f2fead83f4640e9 bocpress/ansible/mataroa.service.j2 -rw-r--r-- 387 bytes
59e1e4a7Jordan Robinson remove show posts on homepage command from Blog Settings 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