From 3499ea624b67559f2c9530db4e36635106e22336 Mon Sep 17 00:00:00 2001 From: dennis Date: Tue, 31 Jan 2023 20:59:38 +0100 Subject: added queue, in case db-connection is down --- mqtt2pgsql.service | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 mqtt2pgsql.service (limited to 'mqtt2pgsql.service') diff --git a/mqtt2pgsql.service b/mqtt2pgsql.service deleted file mode 100644 index d400b10..0000000 --- a/mqtt2pgsql.service +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Description=Simple service to start python-listener -StartLimitIntervalSec=100 -StartLimitBurst=5 - -[Service] -Type=simple -EnvironmentFile=%h/energyscripts/.env -WorkingDirectory=%h/energyscripts -ExecStart=%h/energyscripts/venv/bin/python3 -u mqtt2pgsql.py -Restart=on-failure -TimeoutStopSec=70 -RestartSec=30 -SyslogIdentifier=mqtt2pgsql -#StandardOutput=journal -#StandardError=journal - -[Install] -WantedBy=default.target -- cgit v1.2.3