What's the difference between starting postfix directly (postfix start
) and as a service (service postfix start
)? What (if any) is the preferred way as a best practice, and is there any way to make service postfix status
show the process as active no matter how it was started?
Some code to further clarify:
root@luke:/# postfix status; service --status-all | grep postfix
postfix/postfix-script: the Postfix mail system is running: PID: 17332
[ - ] postfix
root@luke:/# postfix stop; service postfix start
postfix/postfix-script: stopping the Postfix mail system
root@luke:/# postfix status; service --status-all | grep postfix
postfix/postfix-script: the Postfix mail system is running: PID: 18237
[ + ] postfix