13 lines
153 B
Text
13 lines
153 B
Text
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
if [[ "$1" == "configure" ]]; then
|
||
|
|
||
|
systemctl daemon-reload || true
|
||
|
|
||
|
fi
|
||
|
|
||
|
systemctl try-restart mqtt2prometheus.service || true
|
||
|
|