As mentioned earlier systemd can start with serial interdependent services, it can also start in parallel. System initialization is performed using the replacement unit init script in the systemd. This section will introduce the system initialization, systemd as the smallest unit, the unit is configured to ask how the pieces
systemd for services, equipment, and socket mount points and other control and management, unit files are all implemented.
The main file includes an instruction unit and behavioral information unit
Document editing unit
The system administrator must master document editing unit, sometimes need to modify the file to the unit, and encountered the following scenario, you create a custom cell culture
We need to create your own daemon
Create another instance for an existing service
The introduction of SysV script
systemctl daemon-reload # reload configuration
Unit files
[Unit] Description=Emacs.theextensible,self-documentingtexteditor [Service] ExecStart=/usr/bin/emacs --daemon ExecStop=/usr/bin/emacsclient --eval"(kill-emacs)" Environment=SSH_AUTH_SOCK=%t/keyring/ssh Restart =always [install] WantedBy=default.target