20 lines
545 B
Desktop File
20 lines
545 B
Desktop File
[Unit]
|
|
Description=FUC navigation probe counters
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=fuc-nav-stats
|
|
Group=fuc-nav-stats
|
|
StateDirectory=fuc-navigation-stats
|
|
StateDirectoryMode=0700
|
|
UMask=0077
|
|
ExecStart=/usr/bin/python3 /var/www/wwwroot/fuc-navigation/current/ops/fuc_navigation_stats.py --catalog /var/www/wwwroot/fuc-navigation/current/ops/fuc.json --database /var/lib/fuc-navigation-stats/counters.sqlite3 serve
|
|
Restart=on-failure
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|