urbackup_srv status failed

Hello,

Urbackup is working fine on my computer and server.
I can access by internet on 55414.

I’m tring to get urbackup_srv status in order to restart it automatically if there is any problem.
But i’m always getting FAIL return.

root@sd-blionel:~# /etc/init.d/urbackup_srv stop
root@sd-blionel:~# /etc/init.d/urbackup_srv status
[FAIL] urbackup_srv is not running ... failed!
root@sd-blionel:~# /etc/init.d/urbackup_srv start
root@sd-blionel:~# /etc/init.d/urbackup_srv status
[FAIL] urbackup_srv is not running ... failed!

Is it a bug ?

Regards,
Lionel

[quote=“blio”]Hello,
[FAIL] urbackup_srv is not running … failed!
root@sd-blionel:~# /etc/init.d/urbackup_srv start
root@sd-blionel:~# /etc/init.d/urbackup_srv status
[FAIL] urbackup_srv is not running … failed![/code]

Is it a bug ?
[/quote]

Probably. Does it work if you change

status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?

to

status_of_proc "${DAEMON_REAL}" "$NAME" && exit 0 || exit $?

in the init script?

It is perfectly working now !
Best regards