ansible/templates/goatcounter.service.j2

14 lines
431 B
Text
Raw Normal View History

2024-10-09 21:39:46 +02:00
[Unit]
Description=Goatcounter
After=network.target
[Service]
ExecStart=/mnt/data/goatcounter/goatcounter serve -listen *:8081 -tls http -smtp smtps://goatcounter%%40mg.augendre.info:{{gc_mailgun_api_key}}@smtp.mailgun.org:587 -email-from goatcounter@mg.augendre.info -automigrate -db sqlite+/mnt/data/goatcounter/db/goatcounter.sqlite3
Type=simple
Restart=always
User=gaugendre
Group=gaugendre
[Install]
WantedBy=default.target