noble_curious wrote: > . Now the situation is that at startup there is no sign of my service being started. To verify if the service script is OK.. I run this script at shell > service MyService start > where MyService is the script under init.d directory. But nothing happened > But strage thing is that when I run script like this: > /etc/init.d/MyService start > or > /etc/rc.d/init.d/MyService start > That works and my service is started! Look at the source of the"service" script. Wine in 99% cases requires valid X session to operate. Which means DISPLAY env var have to be set. If the "service" script clears environment with say "env" then that's your answer.