use base_dir var in goatcounter template file

This commit is contained in:
Gabriel Augendre 2024-10-09 23:16:50 +02:00
parent 8c45080d36
commit 6eacfa69d9

View file

@ -3,7 +3,7 @@ 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
ExecStart={{base_dir}}/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+{{base_dir}}/db/goatcounter.sqlite3
Type=simple
Restart=always
User=gaugendre