Bug 10466

Summary: некрасивые скрипты запуска и останова unreal irc сервера
Product: Sisyphus Reporter: Igor Zubkov <icesik>
Component: unrealAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   

Description Igor Zubkov 2006-12-20 19:46:20 MSK
[root@iceberg ~]# service unreal stop
Shutting down UnrealIRCd server: Stopping uircd service:                       
                      [ DONE ]

[root@iceberg ~]# service unreal start
Adjusting enviroment for UnrealIRCd server:                                    
                      [ DONE ]
Starting UnrealIRCd server: Starting uircd service:                            
                      [ DONE ]

[root@iceberg ~]#

Вот что в скриптах:
start()
{
        adjust || return
        echo -n "Starting UnrealIRCd server: "
        start_daemon --lockfile "$LOCKFILE" --user root -- $UIRCD_BIN "$OPTIONS"
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch "$LOCKFILE"
        return $RETVAL
}

stop()
{
        echo -n "Shutting down UnrealIRCd server: "
        stop_daemon --lockfile "$LOCKFILE" -- "$UIRCD_BIN"
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f "$LOCKFILE"
        return $RETVAL
}

[root@iceberg ~]# rpm -qa | grep unreal
unreal-doc-3.2.5-alt2
unreal-3.2.5-alt2
[root@iceberg ~]#
Comment 1 Vladimir V. Kamarzin 2006-12-21 12:10:35 MSK
Fixed in 3.2.5-alt3

root@vvk ~ # service unreal start
Adjusting enviroment for UnrealIRCd server:                                    
                        [ DONE ]
Starting uircd service:                                                        
                        [ DONE ]
root@vvk ~ # service unreal stop
Stopping uircd service:                                                        
                        [ DONE ]
root@vvk ~ #