It's a type of Planche
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
449B

  1. [Unit]
  2. Description=Service Description
  3. ConditionPathExists=/path/that/must/exist/to/run/service
  4. [Service]
  5. Type=Simple
  6. ExecStartPre=/absolute/path/to/executable --before --ExecStart
  7. ExecStart=/absolute/path/to/executable --arg1
  8. ExecStartPost=/absolute/path/to/executable --after --ExecStart
  9. ExecReload=/absolute/path/to/config_test
  10. ExecReload=/absolute/path/to/executable --reload
  11. Restart=always
  12. RestartSec=30s
  13. [Install]
  14. WantedBy=multi-user.target