Skip to content

Instantly share code, notes, and snippets.

@prologic
Created February 22, 2015 23:25
Show Gist options
  • Save prologic/33e5582b47714def478f to your computer and use it in GitHub Desktop.
Save prologic/33e5582b47714def478f to your computer and use it in GitHub Desktop.
CRUX 3.1 -- Various rc issues and start-stop-daemon
# Without start-stop-daemon
# prt-get search start-stop-daemon
No matching packages found
# prt-get depinst dovecot &> dovecot.log
# /etc/rc.d/dovecot start
SSL certificate /etc/ssl/certs/dovecot.crt with key /etc/ssl/keys/dovecot.key for host media.local created
# ps aux | grep dovecot
root 6945 0.0 0.0 19744 1368 ? Ss 19:18 0:00 /usr/sbin/dovecot
dovecot 6946 0.0 0.0 9240 968 ? S 19:18 0:00 dovecot/anvil
root 6947 0.0 0.0 9368 1172 ? S 19:18 0:00 dovecot/log
root 6948 0.0 0.0 13612 1340 ? S 19:18 0:00 dovecot/ssl-params
root 6949 0.0 0.0 12200 2000 ? S 19:18 0:00 dovecot/config
root 6950 84.2 0.0 13612 1032 ? RN 19:18 0:03 dovecot/ssl-params
root 6952 0.0 0.0 8968 660 pts/0 S+ 19:18 0:00 grep dovecot
# prt-get update -fr -if -im dovecot &> dovecot.log
# /etc/rc.d/dovecot restart
Fatal: Dovecot is already running with PID 6945 (read from /var/run/dovecot/master.pid)
# ps aux | grep dovecot
root 6945 0.0 0.0 19744 1368 ? Ss 19:18 0:00 /usr/sbin/dovecot
dovecot 6946 0.0 0.0 9240 968 ? S 19:18 0:00 dovecot/anvil
root 6947 0.0 0.0 9368 1172 ? S 19:18 0:00 dovecot/log
root 6949 0.0 0.0 12572 2424 ? S 19:18 0:00 dovecot/config
root 11400 0.0 0.0 8968 656 pts/0 S+ 19:22 0:00 grep dovecot
# With start-stop-daemon
# prt-get search start-stop-daemon
start-stop-daemon
# prt-get depinst dovecot &> dovecot.log
# /etc/rc.d/dovecot start
SSL certificate /etc/ssl/certs/dovecot.crt with key /etc/ssl/keys/dovecot.key for host daisy.local created
# ps aux | grep dovecot
root 30572 0.0 0.0 15536 1212 ? Ss 09:08 0:00 /usr/sbin/dovecot
dovecot 30573 0.0 0.0 9244 964 ? S 09:08 0:00 dovecot/anvil
root 30574 0.0 0.0 9372 1168 ? S 09:08 0:00 dovecot/log
root 30576 0.0 0.0 12204 1992 ? S 09:08 0:00 dovecot/config
root 30579 0.0 0.0 10916 932 pts/2 S+ 09:08 0:00 grep dovecot
# prt-get update dovecot -fr -if -im &> dovecot.log
# /etc/rc.d/dovecot restart
# ps aux | grep dovecot
root 3375 0.0 0.0 15536 1232 ? Ss 09:13 0:00 /usr/sbin/dovecot
dovecot 3376 0.0 0.0 9244 964 ? S 09:13 0:00 dovecot/anvil
root 3377 0.0 0.0 9372 1172 ? S 09:13 0:00 dovecot/log
root 3379 0.0 0.0 12204 1992 ? S 09:13 0:00 dovecot/config
root 3381 0.0 0.0 10916 936 pts/2 S+ 09:13 0:00 grep dovecot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment