Bug 10466 - некрасивые скрипты запуска и останова unreal irc сервера
: некрасивые скрипты запуска и останова unreal irc сервера
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/unreal)
: unstable
: all Linux
: P2 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-12-20 19:46 by
Modified: 2006-12-21 20:13 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-12-20 19:46:20
[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 From 2006-12-21 12:10:35 -------
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 ~ #