2009-05-20 18:35:53 |
Ludwin Janvier |
description |
Hello,
I'm using ushare Version : 1.1a-0ubuntu3 and jaunty with an old 1.3GHz laptop.
When I try to restart ushare daemon :
$ sudo invoke-rc.d ushare restart
* Stopping uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
* Starting uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
I have no error, but a :
$ ps -ef|grep ushareludwin
14665 9175 0 20:21 pts/3 00:00:00 grep ushare
shows me that ushare is not restarted.
However, start and stop actions are working great when ran separately.
So I had a lookup in other init scripts :
samba's restart's section is like :
$0 stop
sleep 1
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty "sleep 1" between start and stop, the ushare's restart action works fine.
I don't post a patch for this bug, it would be something like ;
72a73
> sleep 1 |
Hello,
I'm using ushare Version : 1.1a-0ubuntu3 and jaunty with an old 1.3GHz laptop.
When I try to restart ushare daemon :
$ sudo invoke-rc.d ushare restart
* Stopping uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
* Starting uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
I have no error, but a :
$ ps -ef|grep ushare
14665 9175 0 20:21 pts/3 00:00:00 grep ushare
shows me that ushare is not restarted.
However, start and stop actions are working great when ran separately.
So I had a lookup in other init scripts :
samba's restart's section is like :
$0 stop
sleep 1
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty "sleep 1" between start and stop, the ushare's restart action works fine.
I don't post a patch for this bug, it would be something like ;
72a73
> sleep 1 |
|
2009-05-20 18:37:09 |
Ludwin Janvier |
description |
Hello,
I'm using ushare Version : 1.1a-0ubuntu3 and jaunty with an old 1.3GHz laptop.
When I try to restart ushare daemon :
$ sudo invoke-rc.d ushare restart
* Stopping uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
* Starting uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
I have no error, but a :
$ ps -ef|grep ushare
14665 9175 0 20:21 pts/3 00:00:00 grep ushare
shows me that ushare is not restarted.
However, start and stop actions are working great when ran separately.
So I had a lookup in other init scripts :
samba's restart's section is like :
$0 stop
sleep 1
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty "sleep 1" between start and stop, the ushare's restart action works fine.
I don't post a patch for this bug, it would be something like ;
72a73
> sleep 1 |
Hello,
I'm using ushare Version : 1.1a-0ubuntu3 and jaunty with an old 1.3GHz laptop.
When I try to restart ushare daemon :
$ sudo invoke-rc.d ushare restart
* Stopping uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
* Starting uShare UPnP A/V & DLNA Media Server: ushare [ OK ]
I have no error, but a :
$ ps -ef|grep ushare
14665 9175 0 20:21 pts/3 00:00:00 grep ushare
shows me that ushare is not restarted.
However, start and stop actions are working great when ran separately.
So I had a lookup in other init scripts :
samba's restart's section is like :
$0 stop
sleep 1
$0 start
So if I use this little trick in /etc/init.d/ushare, ie if I add a dirty "sleep 1" between stop and start, the ushare's restart action works fine.
I don't post a patch for this bug, it would be something like ;
72a73
> sleep 1 |
|