Hello everybody. I have a problem with the service syncthing. I installed and the software is working ok. The problem is when I try to start the service with s6.
When I execute the command:
$sudo s6-rc -v 6 -u change syncthing
s6-rc: info: bringing selected services up
s6-rc: info: processing service syncthing: starting
s6-rc: info: service syncthing started successfully
About s6 the service started ok, but I don't see the service up.
ps aux | grep sync
chucho 9746 0.0 0.0 6604 2320 pts/0 S+ 12:42 0:00 grep --color=auto sync
root 17816 0.0 0.0 2784 1704 ? S 09:56 0:00 s6-supervise syncthing
Also anything is listening on port 8384 when I execute:
ss -putan | grep 8384
Everything changes when I execute syncthing manually:
ps aux | grep syncthing
chucho 11389 0.6 0.2 1323180 26764 pts/0 Sl+ 12:44 0:00 syncthing
chucho 11397 35.1 0.5 1620248 65244 pts/0 SNl 12:44 0:03 syncthing
chucho 11701 0.0 0.0 6604 2264 pts/1 S+ 12:44 0:00 grep --color=auto syncthing
root 17816 0.0 0.0 2784 1704 ? S 09:56 0:00 s6-supervise syncthing
ss -putan | grep 8384
tcp LISTEN 0 4096 127.0.0.1:8384 0.0.0.0:* users:(("syncthing",pid=11397,fd=24))
tcp ESTAB 0 0 127.0.0.1:8384 127.0.0.1:35586 users:(("syncthing",pid=11397,fd=28))
I checked the file /etc/s6/sv/syncthing/run and I don't see anything strange.
#!/usr/bin/execlineb -P
exec syncthing -logflags 0
I would like to help more but at the moment init scripts, especially s6, is quite difficult for me. Do you know what's going on?
Best regards.