File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function log_quit {
2929log " #### Setup grommunio_exporter"
3030
3131log " Installing Python 3.11 if not present"
32- zypper install -y python311 || log_quit " Cannot install python 3.11 " " ERROR "
32+ zypper install -y python311
3333
3434log " Setting up venv environment"
3535python3.11 -m venv /usr/local/grommunio_exporter_venv || log_quit " Cannot create python venv" " ERROR"
@@ -43,7 +43,7 @@ cat << 'EOF' > /etc/systemd/system/grommunio_exporter.service
4343Description=Grommunio Exporter
4444After=syslog.target
4545After=network.target
46- AssertFileIsExecutable=/usr/bin/grommunio_exporter
46+ AssertFileIsExecutable=/usr/local/grommunio_exporter_venv/ bin/grommunio_exporter
4747
4848[Service]
4949Type=simple
You can’t perform that action at this time.
0 commit comments