Added missing dependency during install

This commit is contained in:
Ubuntu 2020-07-27 16:47:19 +00:00
parent 5951671a83
commit a5e15b4d27
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ superfans-gpu-controller.service: $(src_python_dir)/superfans_gpu_controller.py
# awk is needed to replace the absolute path of mydaemon executable in the .service file # awk is needed to replace the absolute path of mydaemon executable in the .service file
awk -v exec_path='$(shell which superfans-gpu-controller) $(conf_dir)/superfans-gpu-controller.json' $(awk_script) etc/systemd/system/superfans-gpu-controller.service.template > etc/systemd/system/superfans-gpu-controller.service awk -v exec_path='$(shell which superfans-gpu-controller) $(conf_dir)/superfans-gpu-controller.json' $(awk_script) etc/systemd/system/superfans-gpu-controller.service.template > etc/systemd/system/superfans-gpu-controller.service
install: $(service_dir) $(conf_dir) superfans-gpu-controller.service install: $(service_dir) $(conf_dir) superfans-gpu-controller.service superfans-gpu-controller
cp etc/superfans-gpu-controller.json $(conf_dir) cp etc/superfans-gpu-controller.json $(conf_dir)
cp etc/systemd/system/superfans-gpu-controller.service $(service_dir) cp etc/systemd/system/superfans-gpu-controller.service $(service_dir)
-systemctl enable superfans-gpu-controller.service -systemctl enable superfans-gpu-controller.service