Advertisement
Guest User

7dtd.service

a guest
Oct 24th, 2020
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. [Unit]
  2. Description=7 Days to Die
  3. After=network.target nss-lookup.target
  4.  
  5. [Service]
  6. Type=simple
  7. PIDFile=/run/7dtd.pid
  8. WorkingDirectory=/home/tatilumini
  9.  
  10. ExecStartPre=/home/tatilumini/update7dtd.sh
  11. ExecStart=/home/tatilumini/7dtd/startserver.sh -configfile=serverconfig.xml
  12.  
  13. ExecReload=/bin/kill -s HUP $MAINPID
  14. ExecStop=/bin/kill -s QUIT $MAINPID
  15. Restart=always
  16.  
  17. [Install]
  18. WantedBy=multi-user.target
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement