AdnanHodzic / AdnanHodzic/synology-znc-autostart
ZNC start script fix
未關閉
- 主要語言
- Shell
- 星號
- 8
- 分支
- 2
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi,
I had to change the start script in the following way:
`/var/packages/znc/scripts/start-stop-status`:
```sh
# Originally:
#su ${USER} -c "${ZNC} -d ${INSTALL_DIR}/var"
# Now:
sudo -u ${USER} -EH -i -- sh -c "${ZNC} -d ${INSTALL_DIR}/var"
```
Su didn't work for me as znc user was not in /etc/shadow, I've always got permission denied. Maybe this could be stated in the README.
This actually fixes a problem with starting ZNC from Synology.
Thanks!
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。