Bug 10466 - некрасивые скрипты запуска и останова unreal irc сервера
Summary: некрасивые скрипты запуска и останова unreal irc сервера
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: unreal (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 19:46 MSK by Igor Zubkov
Modified: 2006-12-21 20:13 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ~ #