View previous topic :: View next topic |
Author |
Message |
switcher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Sep 2002 Posts: 9
|
Posted: Mon Sep 16, 2002 5:46 pm Post subject: vm-pop3d start/stop scripts |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
switcher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Sep 2002 Posts: 9
|
Posted: Mon Sep 16, 2002 6:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|