Changeset 04621ff


Ignore:
Timestamp:
Aug 19, 2004 5:41:36 AM (16 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3dcb9f6
Parents:
5053808
git-author:
hypercubus <hypercubus> (08/19/04 05:41:36)
git-committer:
zzz <zzz@…> (08/19/04 05:41:36)
Message:
  • service wrapper fully functioning under Linux and WinXP, should also be working for the other *nix platforms but this isn't tested yet
  • renaming wrapper binaries to 'i2psvc' for *nix and 'I2Psvc.exe' for win32
Location:
installer/lib/wrapper
Files:
5 edited
9 moved

Legend:

Unmodified
Added
Removed
  • installer/lib/wrapper/i2prouter

    r5053808 r04621ff  
    1818
    1919# Wrapper
    20 WRAPPER_CMD="wrapper"
     20WRAPPER_CMD="i2psvc"
    2121WRAPPER_CONF="wrapper.conf"
    2222
     
    158158        if [ "X$IGNORE_SIGNALS" = "X" ]
    159159        then
    160             exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE
    161         else
    162             exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE wrapper.anchorfile=$ANCHORFILE
     160            exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF i2psvc.pidfile=$PIDFILE
     161        else
     162            exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF i2psvc.pidfile=$PIDFILE wrapper.anchorfile=$ANCHORFILE
    163163        fi
    164164    else
     
    177177            if [ "X$RUN_AS_USER" = "X" ]
    178178            then
    179                 exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE wrapper.daemonize=TRUE
     179                exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF i2psvc.pidfile=$PIDFILE wrapper.daemonize=TRUE
    180180            else
    181                 su -m $RUN_AS_USER -c "exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE wrapper.daemonize=TRUE"
     181                su -m $RUN_AS_USER -c "exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF i2psvc.pidfile=$PIDFILE wrapper.daemonize=TRUE"
    182182            fi
    183183        else
    184184            if [ "X$RUN_AS_USER" = "X" ]
    185185            then
    186                 exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE wrapper.anchorfile=$ANCHORFILE wrapper.ignore_signals=TRUE wrapper.daemonize=TRUE
     186                exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF i2psvc.pidfile=$PIDFILE wrapper.anchorfile=$ANCHORFILE wrapper.ignore_signals=TRUE wrapper.daemonize=TRUE
    187187            else
    188                 su -m $RUN_AS_USER -c "exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.pidfile=$PIDFILE wrapper.anchorfile=$ANCHORFILE wrapper.ignore_signals=TRUE wrapper.daemonize=TRUE"
     188                su -m $RUN_AS_USER -c "exec $CMDNICE $WRAPPER_CMD $WRAPPER_CONF i2psvc.pidfile=$PIDFILE wrapper.anchorfile=$ANCHORFILE wrapper.ignore_signals=TRUE wrapper.daemonize=TRUE"
    189189            fi
    190190        fi
  • installer/lib/wrapper/i2prouter.bat

    r5053808 r04621ff  
    2121rem %~dp0 is location of current script under NT
    2222set _REALPATH=%~dp0
    23 set _WRAPPER_EXE=%_REALPATH%Wrapper.exe
     23set _WRAPPER_EXE=%_REALPATH%I2Psvc.exe
    2424
    2525rem
  • installer/lib/wrapper/install_i2p_service_winnt.bat

    r5053808 r04621ff  
    1616rem %~dp0 is location of current script under NT
    1717set _REALPATH=%~dp0
    18 set _WRAPPER_EXE=%_REALPATH%Wrapper.exe
     18set _WRAPPER_EXE=%_REALPATH%I2Psvc.exe
    1919
    2020rem
  • installer/lib/wrapper/uninstall_i2p_service_winnt.bat

    r5053808 r04621ff  
    1616rem %~dp0 is location of current script under NT
    1717set _REALPATH=%~dp0
    18 set _WRAPPER_EXE=%_REALPATH%Wrapper.exe
     18set _WRAPPER_EXE=%_REALPATH%I2Psvc.exe
    1919
    2020rem
  • installer/lib/wrapper/wrapper.conf

    r5053808 r04621ff  
    4848wrapper.app.parameter.1=net.i2p.router.Router
    4949wrapper.app.parameter.2=--quiet
    50 wrapper.app.parameter.3=> /dev/null &
     50wrapper.app.parameter.3=> /dev/null
    5151
    5252#********************************************************************
     
    6060
    6161# Log file to use for wrapper output logging.
    62 wrapper.logfile=../logs/wrapper.log
     62wrapper.logfile=logs/wrapper.log
    6363
    6464# Format of output for the log file.  (See docs for formats)
Note: See TracChangeset for help on using the changeset viewer.