Upport - ICP DAS USA LinPAC-2841 Series User Manual

Implement industry control with linux technique
Table of Contents

Advertisement

3.6
Systemd Support
The "systemctl" can be used to introspect and control the state of the "systemd" system and
service manager. Please refer to below steps to start/stop/restart/enable/disable software.
1. Command "start"
The command start services for starting (activate) one or more units specified on the command
line.
root@icpdas:~#
2. Command "stop"
The command stop serves for stopping the service or (deactivate) one or more units specified
on the command line.
root@icpdas:~#
3. Command "restart"
The command restart serves for restarting the service in execution. Stop and then start one or
more units specified on the command line. If the units are not running yet, they will be started.
root@icpdas:~#
4. Command "status"
The command status serves to check the status of the service. Show the service information
about one or more units, followed by the most recent log data from the journal. If no units are
specified, it shows system status.
root@icpdas:~#
LinPAC-2841 Series User Manual
systemctl start helloworld.service
systemctl stop helloworld.service
systemctl restart helloworld.service
systemctl status helloworld.service
Version 1.0
page: 19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linpac lp-2841m

Table of Contents