From 6c08f4bb647680460191f650860900c9831173bf Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 10 Jun 2020 10:40:48 +0200 Subject: no unicorns gunicorn VIRTUAL_ENV detection is not compatible to our tools --- contrib/init/linux-systemd/ejabberd-cleanup.service | 1 - contrib/init/linux-systemd/ejabberd-exporter.service | 1 - contrib/init/linux-systemd/ejabberd-influxdb.service | 1 - 3 files changed, 3 deletions(-) diff --git a/contrib/init/linux-systemd/ejabberd-cleanup.service b/contrib/init/linux-systemd/ejabberd-cleanup.service index e68de47..4bea474 100644 --- a/contrib/init/linux-systemd/ejabberd-cleanup.service +++ b/contrib/init/linux-systemd/ejabberd-cleanup.service @@ -5,7 +5,6 @@ Description=Clean up ejabberd Type=oneshot User=nobody Group=nobody -Environment="VIRTUAL_ENV=/opt/ejabberd-tools/venv" Environment="PATH=/opt/ejabberd-tools/venv/bin:/usr/local/bin:/usr/bin:/bin" ExecStart=/opt/ejabberd-tools/cleanup.py WorkingDirectory=/opt/ejabberd-tools/ diff --git a/contrib/init/linux-systemd/ejabberd-exporter.service b/contrib/init/linux-systemd/ejabberd-exporter.service index 3eb8381..1c0d9e0 100644 --- a/contrib/init/linux-systemd/ejabberd-exporter.service +++ b/contrib/init/linux-systemd/ejabberd-exporter.service @@ -5,7 +5,6 @@ Description=ejabberd prometheus exporter Type=simple User=nobody Group=nobody -Environment="VIRTUAL_ENV=/opt/ejabberd-tools/venv" Environment="PATH=/opt/ejabberd-tools/venv/bin:/usr/local/bin:/usr/bin:/bin" ExecStart=/opt/ejabberd-tools/prometheus.py WorkingDirectory=/opt/ejabberd-tools/ diff --git a/contrib/init/linux-systemd/ejabberd-influxdb.service b/contrib/init/linux-systemd/ejabberd-influxdb.service index af25ae9..364b574 100644 --- a/contrib/init/linux-systemd/ejabberd-influxdb.service +++ b/contrib/init/linux-systemd/ejabberd-influxdb.service @@ -5,7 +5,6 @@ Description=ejabberd influxdb exporter Type=simple User=nobody Group=nogroup -Environment="VIRTUAL_ENV=/opt/ejabberd-tools/venv" Environment="PATH=/opt/ejabberd-tools/venv/bin:/usr/local/bin:/usr/bin:/bin" ExecStart=/opt/ejabberd-tools/influx.py WorkingDirectory=/opt/ejabberd-tools/ -- cgit v1.2.3-54-g00ecf