EasyManuals Logo

Owasys Owa4X User Manual

Default Icon
62 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background imageLoading...
Page #52 background image
%&'"()*+,,-,,.".
A systemd .service file describes a process managed by systemd in a
declaratory way (e.g., the process it starts, its dependencies, and many other
parameters). The following example configuration file summarizes the main
options in unit files:
# location: /etc/systemd/system/
[Unit]
Description = Example unit that runs an application at boot
After = syslog.target
[Service]
# make sure the shell script is executable (chmod +x $1)
ExecStart = /home/debian/myowa4xd
# Tell the serive how to kill it / reload.
#ExecStop = /home/debian/myowa4xd --exit
[Install]
# multi-user.target corresponds to run level 3
WantedBy = multi-user.target
9.3.1 Enabling and disabling services
In the owa4x the user can enable multiple applications to automatically start at
boot. This is achieved by the following command:
systemctl enable application.service
To disable the service from starting automatically, you can type:
systemctl disable enable application.service
9.3.2 Grouping services
Moreover, a systemd target file groups a set of services (units). Thus, the
dependencies of a target can be listed either within the target file (in the
Requires= line), or using a symbolic link to a service file in the
/lib/systemd/system/targetname.target.wants/ directory. For instance,
/etc/systemd/system/reboot.target.wants/ can contain links to multiple services
that systemd will run before rebooting in order to reach reboot.target. For more
information, please see the systemd documentation 59
, '$$$
systemd provides a logging system, implemented with the journald daemon, for
kernel and user-space processes. The journalctl utility is used to access (e.g.,
executed without any arguments, it simply spews all log messages that
occurred since system boot) and filter (by time, priority, service, etc.) logs.
For example, to show only entries associated with the myowa4xd service,
logged at the error level or above since January 10th, 2018 at 5:15 PM, you can
type:
journalctl -u myowa4xd.service -p err --since "2018-01-10 17:15:00"
0+

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Owasys Owa4X and is the answer not in the manual?

Owasys Owa4X Specifications

General IconGeneral
BrandOwasys
ModelOwa4X
CategoryGateway
LanguageEnglish