[Alfresco][Ubuntu] 舊版Alfresco5.1 內建啟動程式不被Ubunut18.04 支援的解法

No Comments

REF  https://gist.github.com/fmaul/b05d9b8d8b5ff8ff0a0657f2c25d7d8d

 

Ubuntu 自16.04起, 開始支援 systemd 服務啟動方法, 原本的 upstart 在 18.04則不被支援
間接影響了舊版 Alfresco ECM 的啟動程式(/etc/init.d/alfresco)

依上述提供的參考網址, 增加 alfresco.service 檔案, 並且利用 systemctl 設定為 enable
systemctl enable alfresco.service

之後重開機也能順利啟動 aflresco ECM, 而不會有Ubuntu升級18.04後, alfresco無法啟動的問題

而原本的 /etc/init.d/alfresco 可以先利用 update-rc.d alfresco remove(其實好像也沒作用)
再移除 /etc/init.d/alfresco 這個檔案(或移動到 /tmp 去, 就當作沒看到)

Leave a Reply

Share via
Copy link