Comet

  • Diary
  • Travel
  • Fun
  • Tech
Linux
Tech

Linux Daemon Service Template

Create a template to allow a user app running as a daemon. [Unit] Description=Health Monitor [Service] Type=simple ExecStart=/usr/bin/healthmon ExecStop=/bin/kill -s QUIT $MAINPID StandardError=file:/var/log/healthmon.log StandardError=file:/var/log/healthmon.log [Install] WantedBy=multi-user.target Use systemctl to start and stop.

January 23, 2021 0comments 800hotness 0likes kasakun Read all

kasakun

Talk less, smile more.

Tag aggregation
2021 2019 2024 2023 2020 2022 Book Movie

COPYRIGHT © 2018-2022 Space. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang