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