[Slackbuilds-users] rc.postfix
Eugen Wissner
belka.ew at gmail.com
Wed Feb 20 10:41:03 UTC 2013
Hi,
rc.6 which is executed during shutdown/reboot sets
PATH=/sbin:/etc:/bin:/usr/bin. If I want to stop postfix automatically in
rc.6 or rc.local_shutdown I get an error "postfix can't be found" because
postfix is in /usr/sbin. Wouldn't it be better to write the full path in
rc.postfix:
postfix_start()
{
/usr/sbin/postfix start
}
postfix_stop()
{
/usr/sbin/postfix stop
}
?
Best regards
Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130220/c687e0c5/attachment.html>
More information about the SlackBuilds-users
mailing list