ansible/templates/goatcounter.service.j2

14 lines
413 B
Text
Raw Normal View History

2024-10-09 21:39:46 +02:00
[Unit]
Description=Goatcounter
After=network.target
[Service]
2024-10-10 22:46:11 +02:00
ExecStart={{base_dir}}/goatcounter serve -listen *:8005 -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+{{base_dir}}/db/goatcounter.sqlite3
2024-10-09 21:39:46 +02:00
Type=simple
Restart=always
User=gaugendre
Group=gaugendre
[Install]
WantedBy=default.target