Kaynağa Gözat

fix: update EnvironmentFile path in squidstats.service to point to the correct .env location

Manuel 3 ay önce
ebeveyn
işleme
dc7dba2609
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      debian/squidstats.service

+ 2 - 2
debian/squidstats.service

@@ -13,8 +13,8 @@ ExecStart=/opt/SquidStats/venv/bin/python3 /opt/SquidStats/app/app.py
 Restart=on-failure
 RestartSec=5
 
-# Configuration file (generated by postinst from /etc/squidstats/squidstats.env)
-EnvironmentFile=-/etc/squidstats/squidstats.env
+# Configuration file (generated by postinst from /opt/SquidStats/app/.env)
+EnvironmentFile=/opt/SquidStats/app/.env
 
 # Inherit squid log group so the service can read access logs
 SupplementaryGroups=proxy