File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,15 @@ packages:
5555 group : root
5656 perms : 0755
5757 target : usr/lib/influxdb/scripts/influxd-systemd-start.sh
58+
59+ - owner : root
60+ group : root
61+ perms : 0644
62+ target : lib/systemd/system/influxdb.service
5863 deb_recommends :
5964 - influxdb2-cli
6065 conflicts :
6166 - influxdb
6267 depends :
6368 - curl
64- source : .circleci/packages/influxdb2
69+ source : .circleci/packages/influxdb2
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ function install_init {
1313}
1414
1515function install_systemd {
16- cp -f $SCRIPT_DIR /influxdb.service /lib/systemd/system/influxdb.service
16+ # Service file is now installed directly by RPM - just enable it
17+ systemctl daemon-reload
1718 systemctl enable influxdb
1819}
1920
Original file line number Diff line number Diff line change 22
33function disable_systemd {
44 systemctl disable influxdb
5- rm -f /lib/systemd/system/influxdb.service
65}
76
87function disable_update_rcd {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments