Systemd notes

Submitted by code_admin on Wed, 07/25/2018 - 10:42
  1. pidof systemd
  2. pstree -p
  3. journalctl -u ${SVCNAME} -e

Service File

  1. [Unit]
  2. Description=Hello world service
  3. After=systemd-user=sessions.service
  4.  
  5. [Service]
  6. Type=simple
  7. ExecStart=/home/ben/hws.sh
  8. SyslogIndetifier=HelloWorldService

Tags

RJM Article Type
Work Notes