Disabling Services/Packages
In ServBay, you can easily temporarily disable packages that you don't need to run. This not only helps in saving system resources but also enhances system security and stability. Below are detailed steps and instructions on how to disable packages.
Steps to Disable a Package
Open the ServBay Application:
- Launch the ServBay application and navigate to the
Services
page from the left-side menu.
- Launch the ServBay application and navigate to the
View the Package List:
- On the
Services
page, you can see a list of all installed packages. Each package's current version, status, PID, and other information are clearly listed.
- On the
Find the Package to be Disabled:
- Locate the package you want to disable in the list. Ensure you select the correct package to avoid accidental operation.
Click the Disable Button:
- On the right side of the package entry you want to disable, there is a toggle button. Switch the button from the
On
position to theOff
position, and ServBay will prompt you to confirm the disable operation.
- On the right side of the package entry you want to disable, there is a toggle button. Switch the button from the
Confirm the Disable:
- After the confirmation dialog pops up, click the
Confirm
button to proceed with the disabling process. ServBay will begin to disable the package.
- After the confirmation dialog pops up, click the
Complete the Disable:
- Once the disable process is complete, the package's status will be updated to
Disabled
, indicating that the package has been successfully disabled.
- Once the disable process is complete, the package's status will be updated to
Example Explanation
Below is an example of disabling the Redis package:
Navigate to the
Services
page:- Open the ServBay application and click on the
Services
option from the left-side menu.
- Open the ServBay application and click on the
Find Redis:
- In the services list, find
Redis
. You will see its current status displayed asRunning
.
- In the services list, find
Click the Disable Button:
- On the right side of the
Redis
entry, find the toggle button and switch it from theOn
position to theOff
position.
- On the right side of the
Wait for Disable to Complete:
- Once the disabling process starts, the system will show a progress indicator. After the disable is complete, the status of
Redis
will be updated toDisabled
.
- Once the disabling process starts, the system will show a progress indicator. After the disable is complete, the status of
Frequently Asked Questions
Will data be lost after disabling a package?
Disabling a package will not delete any data. It simply stops the package from running, and the data remains in the system.
DANGER
However, for services that use memory to store data, such as Memcached
, the data will be lost.
How to re-enable a disabled package?
To re-enable a disabled package, simply switch its status toggle from the Off
position back to the On
position.
What if an error occurs during the disable process?
If an error occurs during the disable process, ServBay will display relevant error information. Please follow the prompts to troubleshoot. If the issue remains unresolved, you can contact the ServBay support team for assistance.
By following the above steps and instructions, you can easily disable packages that you don't need to run temporarily in ServBay. This not only helps in optimizing system resources but also enhances system security and stability. After disabling, you can re-enable the packages or perform other configurations as needed.