Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vm-pop3d start/stop scripts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
switcher
n00b
n00b


Joined: 16 Sep 2002
Posts: 9

PostPosted: Mon Sep 16, 2002 5:46 pm    Post subject: vm-pop3d start/stop scripts Reply with quote

I have exim working with virtual domains and have now installed vm-pop3d. The Gentoo scripts /etc/conf.d/vm-pop3d and /etc/init.d/vm-pop3d do not work - or are out dated for my version 1.2 Gentoo installation. (they expect to find an rc.d system)

I can run /usr/sbin/vm-pop3d from the command line and verify (with telnet and Microsoft Outlook Express) that it is working and correctly configured. I can view my emails.

I have edited both scripts so that they can now start the service, but I just can't figure out how to edit the stop function so that it will stop it.

Can anyone help me with this please?
Back to top
View user's profile Send private message
switcher
n00b
n00b


Joined: 16 Sep 2002
Posts: 9

PostPosted: Mon Sep 16, 2002 6:12 pm    Post subject: Reply with quote

If it helps, here are my modified scripts...

/etc/init.d/vm-pop3d

#!/sbin/runscript

depend() {
need logger net
}

start() {
ebegin "Starting vm-pop3d"
start-stop-daemon --start --quiet --exec /usr/sbin/vm-pop3d -- -d5 -umail -gmail -t600 -p110
eend $?
}

stop() {
ebegin "Stopping vm-pop3d"
start-stop-daemon --stop --quiet --exec /usr/sbin/vm-pop3d
eend $?
}

/etc/conf.d/vm-pop3d

# Command-line options for running vm-pop3d

OPTIONS=""
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum