Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Daphne Interface
- [Service]
- ExecStartPre=cd /home/git/hsfzmun/server
- 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"
- Restart=always
- KillSignal=SIGQUIT
- Type=notify
- NotifyAccess=all
- [Install]
- WantedBy=multi-user.target
- Failed to start daphnei.service: Unit daphnei.service is not loaded properly: Invalid argument.
- See system logs and 'systemctl status daphnei.service' for details.
- * daphnei.service - Daphne Interface
- Loaded: error (Reason: Invalid argument)
- Active: inactive (dead) (Result: exit-code) since Mon 2017-02-13 19:55:10 CST; 13min ago
- Main PID: 16667 (code=exited, status=1/FAILURE)
- 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"
- [Unit]
- Description = Tomcat8 script that runs a shell script at boot
- After = syslog.target
- [Service]
- Type=oneshot
- ExecStart = /usr/share/tomcat8.5/bin/startup.sh
- ExecStop = /usr/share/tomcat8.5/bin/shutdown.sh
- Restart = always
- RemainAfterExit = yes
- Restart = always
- [Install]
- WantedBy = multi-user.target
- #EOF
Add Comment
Please, Sign In to add comment