[Unit] Description=HAT Sensoren InfluxDB Daemon Documentation=https://github.com/your-repo/projekt_fleet_monitoring After=network.target mysql.service Wants=network-online.target [Service] Type=simple User=www-data Group=www-data WorkingDirectory=/var/www/projekt_fleet_monitoring ExecStart=/usr/bin/php bin/console app:hats-influx-daemon --only-changes Restart=always RestartSec=10 StandardOutput=journal StandardError=journal SyslogIdentifier=hats-influx-daemon # Sicherheitseinstellungen NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/var/www/projekt_fleet_monitoring/var # Ressourcenlimits (optional) LimitNOFILE=65536 [Install] WantedBy=multi-user.target