在 systemctl 啟動時,“無法啟動 gitlab-runner.service:單元未正確載入:錯誤訊息。”

在 systemctl 啟動時,“無法啟動 gitlab-runner.service:單元未正確載入:錯誤訊息。”

每當我跑步時systemctl start gitlab-runner.service,我都會得到,

systemctl start gitlab-runner.service 
Failed to start gitlab-runner.service: Unit is not loaded properly: Bad message.
See system logs and 'systemctl status gitlab-runner.service' for details.

我怎樣才能找到有關此錯誤的更多信息,這是什麼意思?

答案1

我必須先啟用該裝置,

systemctl enable gitlab-runner.service

然後我就可以開始了

systemctl start gitlab-runner.service

相關內容