blob: 010bb331595b451226c49bd1d406eae0c1fe3dde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=GoatCounter web analytics daemon service
After=network.target
[Service]
Type=simple
Restart=always
User=goatcounter
Group=goatcounter
ExecStart=/usr/bin/goatcounter serve -automigrate -db sqlite+/var/db/goatcounter/db.sqlite3
NoNewPrivileges=true
# allow binding to privileged ports (80 and 443 in our case)
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
|