Changes

Jump to navigation Jump to search
1,935 bytes added ,  01:47, 16 July 2021
Added systemd details
Line 1: Line 1:  
{{Incomplete}}
 
{{Incomplete}}
    +
== SME9 ==
 
A page to help in understanding the services provided by SME Server
 
A page to help in understanding the services provided by SME Server
 
The format is
 
The format is
: Service Name, and the default status
+
 
: A short description
+
:Service Name, and the default status
: A link to further information on the wiki.
+
:A short description
 +
:A link to further information on the wiki.
    
If you would like to view a list of services currently on the system and their status use the following command.
 
If you would like to view a list of services currently on the system and their status use the following command.
 +
 +
<br />
 
  /sbin/e-smith/config show  |grep "Service\|status"  
 
  /sbin/e-smith/config show  |grep "Service\|status"  
 +
 +
== SME10 ==
 +
'''Systemctl''' is a '''systemd''' utility that is responsible for Controlling the '''systemd''' system and service manager. '''Systemd''' is a collection of system management daemons, utilities, and libraries which serves as a replacement of '''System V init''' daemon. Systemd functions as central management and configuration platform
 +
 +
To list all loaded services on your system (whether active; running, exited or failed, use the '''list-units''' subcommand and <code>--type</code> switch with a value of service.
 +
# systemctl list-units --type=service
 +
OR
 +
# systemctl --type=service
 +
 +
 +
But to get a quick glance of all running services (i.e all loaded and actively running services), run the following command.
 +
# systemctl list-units --type=service --state=running
 +
OR
 +
# systemctl --type=service --state=running
 +
 +
 +
List all failed units.
 +
# systemctl --failed
 +
 +
 +
Check whether a Unit or Service is running or not?.
 +
# systemctl status httpd-e-smith
 +
 +
 +
How do I start, restart, stop, reload and check the status of a service ('''httpd.service''') in Linux.
 +
# systemctl start httpd-e-smith.service
 +
# systemctl restart httpd-e-smith.service
 +
# systemctl stop httpd-e-smith.service
 +
# systemctl reload httpd-e-smith.service
 +
# systemctl status httpd-e-smith.service
    
==Supervised==
 
==Supervised==
Line 241: Line 275:     
===statusreport===
 
===statusreport===
 +
This service reports monthly to Koozali your Release number, current date, date of installation, aside with a hash of your System ID created at the moment of installation. No personal data is sent. Your IP is not kept in the database, the closest we keep is the country code related to the IP submitting the information. This information is used by the Koozali team in order to improve your experience, it can for instance allow us to work more on features needed for a particular country.
 +
 +
To disable the service<syntaxhighlight lang="bash">
 +
config setprop statusreport status disabled
 +
expand-template /etc/crontab
 +
</syntaxhighlight>
    
===syslog===
 
===syslog===
    
===testing===
 
===testing===
       

Navigation menu