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 はまだ評価されていません。