mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
14 lines
391 B
Text
14 lines
391 B
Text
To start CouchDB automatically at system startup, add the following to
|
|
your system's /etc/rc.d/rc.local init script:
|
|
|
|
if [ -x /etc/rc.d/rc.couchdb ]; then
|
|
/etc/rc.d/rc.couchdb start
|
|
fi
|
|
|
|
To stop CouchDB automatically at system shutdown, add the following to
|
|
your system's /etc/rc.d/rc.local_shutdown script:
|
|
|
|
if [ -x /etc/rc.d/rc.couchdb ]; then
|
|
/etc/rc.d/rc.couchdb stop
|
|
fi
|
|
|