Advertisement
TeRackSito

Systemd service

Nov 27th, 2023
678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Unit]
  2. Description=description text
  3. After=network.target
  4.  
  5. [Service]
  6. ExecStart=/ruta/a/tu/ejecutable
  7. Restart=always
  8. RestartSec=30
  9.  
  10. StartLimitInterval=3600
  11. StartLimitBurst=5
  12.  
  13. ExecStartPost=/ruta/a/tu/ejecutable-de-reversion
  14.  
  15. [Install]
  16. WantedBy=multi-user.target
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement