Fix the systemd service name.
This commit is contained in:
parent
faf37c90a8
commit
8c080c2e3e
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: restart influxdb
|
- name: restart influxdb
|
||||||
service:
|
service:
|
||||||
name: influxdb
|
name: influxd
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -126,7 +126,7 @@
|
||||||
block:
|
block:
|
||||||
- name: Ensure that influxdb is enabled and running
|
- name: Ensure that influxdb is enabled and running
|
||||||
service:
|
service:
|
||||||
name: influxdb
|
name: influxd
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ chown root ${INFLUXDB_KEYFILE}
|
||||||
chgrp influxdb ${INFLUXDB_KEYFILE}
|
chgrp influxdb ${INFLUXDB_KEYFILE}
|
||||||
|
|
||||||
logger "acme-influxdb-hook: Restart the influxdb service after a certificate renewal"
|
logger "acme-influxdb-hook: Restart the influxdb service after a certificate renewal"
|
||||||
systemctl restart influxdb >> $LE_LOGFILE 2>&1
|
systemctl restart influxd >> $LE_LOGFILE 2>&1
|
||||||
echo "acme-influxdb-hook: Restart the influxdb service" >> $LE_LOGFILE
|
echo "acme-influxdb-hook: Restart the influxdb service" >> $LE_LOGFILE
|
||||||
|
|
||||||
logger "acme-influxdb-hook: Done"
|
logger "acme-influxdb-hook: Done"
|
||||||
|
|
Loading…
Reference in New Issue