AdnanHodzic / AdnanHodzic/synology-znc-autostart
ZNC start script fix
Aberta
- Linguagem predominante
- Shell
- Estrelas
- 8
- Forks
- 2
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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!
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.