Browse Source

Add a script for popa3d to support running it outside of inetd.

OPENBSD_5_1
robert 13 years ago
parent
commit
84626692a3
3 changed files with 17 additions and 3 deletions
  1. +2
    -2
      src/etc/rc
  2. +4
    -1
      src/etc/rc.conf
  3. +11
    -0
      src/etc/rc.d/popa3d

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.392 2011/07/28 19:09:16 halex Exp $
# $OpenBSD: rc,v 1.393 2011/09/16 10:11:20 robert Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -504,7 +504,7 @@ fi
start_daemon hostapd rwhod lpd ldapd sendmail smtpd httpd ftpd start_daemon hostapd rwhod lpd ldapd sendmail smtpd httpd ftpd
start_daemon ftpproxy identd inetd rarpd bootparamd rbootd mopd start_daemon ftpproxy identd inetd rarpd bootparamd rbootd mopd
start_daemon spamd spamlogd kdc kadmind kpasswdd aucat
start_daemon popa3d spamd spamlogd kdc kadmind kpasswdd aucat
echo '.' echo '.'
if [ X"${spamd_flags}" != X"NO" ]; then if [ X"${spamd_flags}" != X"NO" ]; then


+ 4
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.160 2011/07/24 15:33:41 fgsch Exp $
# $OpenBSD: rc.conf,v 1.161 2011/09/16 10:11:20 robert Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: "" ldpd_flags=NO # for normal use: ""
@ -70,6 +70,9 @@ ftpd_flags=NO # for non-inetd use: "-D"
# Set to NO if identd is running out of inetd # Set to NO if identd is running out of inetd
identd_flags=NO # for non-inetd use: "-b -elo" identd_flags=NO # for non-inetd use: "-b -elo"
# Set to NO if popa3d is running out of inetd
popa3d_flags=NO # for non-inetd use: "-D"
# On some architectures, you must also disable console getty in /etc/ttys # On some architectures, you must also disable console getty in /etc/ttys
xdm_flags=NO # for normal use: "" xdm_flags=NO # for normal use: ""


+ 11
- 0
src/etc/rc.d/popa3d View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: popa3d,v 1.1 2011/09/16 10:11:20 robert Exp $
daemon="/usr/sbin/popa3d"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

Loading…
Cancel
Save