ansible/playbooks/apps/templates/goatcounter/goatcounter.service.j2

14 lines
415 B
Text
Raw Permalink Normal View History

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