mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
15 lines
391 B
Text
15 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
|
||
|
|