This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

renaming ./eggdrop to diff name

Discussion of Eggdrop's code and module programming in C.
Post Reply
t
trackker
Voice
Posts: 3
Joined: Tue Feb 19, 2008 1:44 pm

renaming ./eggdrop to diff name

Post by trackker »

i run 3 diff eggys un my shell
my problem is all 3 show ./eggdrop
is there a way to rename the . /eggdrop to a different name
so they show ie jim, joe, bob
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Simply rename the binary? or create a symbolic link...

On most shells, this would be some something like this:

Code: Select all

#Rename like this:
mv eggdrop Joe
#or create symbolic link like this:
ln -s eggdrop Joe
Last edited by nml375 on Tue Feb 19, 2008 4:41 pm, edited 1 time in total.
NML_375
t
trackker
Voice
Posts: 3
Joined: Tue Feb 19, 2008 1:44 pm

Post by trackker »

nml375 wrote:Simply rename the binary? or create a symbolic link...
i am new to eggdrops can u tell me how to do this
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Renaming files isn't really an eggdrop-issue, but simple filesystem/shell/etc operations. The same actions apply for the eggdrop binary as for any other file, including non-eggdrop files.
NML_375
d
dungeon
Voice
Posts: 11
Joined: Thu Apr 06, 2006 7:55 am

Post by dungeon »

1. Windows or *nix?

2. Are you running three different instances of the binary, or same binary but three different config files?

I'm running the latter - I can see which bot is which by the names of the config files following the ./eggdrop command:

Code: Select all

$ ps -fu utserver
UID        PID  PPID  C STIME TTY          TIME CMD
utserver 29219     1  0 Mar06 ?        00:00:10 ./eggdrop avon.conf
utserver 27815     1  0 Mar06 ?        00:00:10 ./eggdrop xan.conf
utserver 23218     1  0 Mar06 ?        00:00:10 ./eggdrop romeo.conf
Post Reply