Guest User

Untitled

a guest
Jun 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. [Unit]
  2. Description=Daphne Interface
  3.  
  4. [Service]
  5. ExecStartPre=cd /home/git/hsfzmun/server
  6. ExecStart=/bin/bash/ -c "cd /home/git/hsfzmun/server && /home/git/virtualenvs/hsfzmun/bin/daphne -b 0.0.0.0 -p 8001 -v2 config.asgi:channel_layer"
  7. Restart=always
  8. KillSignal=SIGQUIT
  9. Type=notify
  10. NotifyAccess=all
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
  14.  
  15. Failed to start daphnei.service: Unit daphnei.service is not loaded properly: Invalid argument.
  16. See system logs and 'systemctl status daphnei.service' for details.
  17.  
  18. * daphnei.service - Daphne Interface
  19. Loaded: error (Reason: Invalid argument)
  20. Active: inactive (dead) (Result: exit-code) since Mon 2017-02-13 19:55:10 CST; 13min ago
  21. Main PID: 16667 (code=exited, status=1/FAILURE)
  22.  
  23. Executable path specifies a directory, ignoring: /bin/bash/ -c "cd /home/git/hsfzmun/server && /home/git/virtualenvs/hsfzmun/bin/daphne -b 0.0.0.0 -p 8001 -v2 config.asgi:channel_layer"
  24.  
  25. [Unit]
  26.  
  27. Description = Tomcat8 script that runs a shell script at boot
  28.  
  29. After = syslog.target
  30.  
  31. [Service]
  32.  
  33. Type=oneshot
  34.  
  35. ExecStart = /usr/share/tomcat8.5/bin/startup.sh
  36.  
  37. ExecStop = /usr/share/tomcat8.5/bin/shutdown.sh
  38.  
  39. Restart = always
  40.  
  41. RemainAfterExit = yes
  42.  
  43. Restart = always
  44.  
  45. [Install]
  46.  
  47. WantedBy = multi-user.target
  48.  
  49. #EOF
Add Comment
Please, Sign In to add comment