Managing System Services
The System Services module provides management of all bootup and shutdown processes and services, and allows you to create a new upstart service.
To reboot or shut down your SoftNAS instance/virtual machine, simply scroll down to the bottom of the listed services, and select the desired option.
The System Services provides a list of services that are running (or available to run) and that are activated at boot time. These service configurations normally should not need to be changed, but advanced users may have additional needs that can only be met by enabling certain Linux services not enabled by default in SoftNAS. From here, it is possible to start, restart, reload, show status, stop or delete a service.
Creating a New Service
Creating a new service is very easy. Simply follow the steps given below.
- Click the Create a new systemd service button. The Create Systemd Service page will be displayed.
- Enter the name of the service in the Service name text entry box.
- Enter the description of the service in the Service description text entry box.
- Enter the commands, if any, to run on startup in the Commands to run on startup text entry box.
- Enter the commands, if any, to run on shutdown in the Commands to run on shutdown text entry box.
- Specify whether the service should start at a boot time or not by selecting Yes or No.
- Once configurations are complete, click the Create button.
Editing a Service
Be careful while editing a service. It may affect the smooth functioning of the system.
- To edit a service, simply click the name of the service. The service will be displayed in edit mode.
- In the Action Details section, edit the name of the service in the Name text entry box.
- Edit the script related to the action, in the Action Script text entry box.
- Specify whether the service should start at a boot time or not by choosing Yes or No option.
- Once configurations are complete, click the Save button. The changes made to the service will be saved.