Advertisement
Nikoh77

Untitled

Feb 14th, 2023
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. [Unit]
  2. Description=Mystic Internet Service
  3. After=network-online.target nss-lookup.target
  4. Wants=network-online.target
  5. After=systemd-user-sessions.service
  6. After=home-nikoh-mystic.mount
  7. BindsTo=home-nikoh-mystic.mount
  8. [Service]
  9. Type=forking
  10. # The mis daemon needs to start as root as discussed above, or will fail to bind TCP ports.
  11. #User=root
  12. # Be sure to set the correct paths and script names below:
  13. #Type=simple
  14. User=nikoh
  15. #Group=users
  16. ExecStart=/home/nikoh/mystic/mis-start.sh
  17. ExecStop=/home/nikoh/mystic/mis-stop.sh
  18. Restart=always
  19. RestartSec=30
  20. [Install]
  21. WantedBy=multi-user.target
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement