AdnanHodzic / AdnanHodzic/synology-znc-autostart

ZNC start script fix

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。