FATA[0000] Failed to install Source Chat Relay: readlink /proc/self/exe: no such file or directory
Elvetiano opened this issue · 5 comments
Describe the bug
Install error
FATA[0000] Failed to install Source Chat Relay: readlink /proc/self/exe: no such file or directory
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Centos 6
Since it cannot locate the bin path using proc/self/exe, you'll just have to install it yourself if you want a service via systemctl, etc. Or just launch it in a detached screen.
I get no screen from launching it detached. How can i install it manualy? centos 6 init.d start/stop/restart logic
Create a service file for the service manager of your choice, plenty of guides if you search for them.
what abot this exqampla
`#!/bin/bash
#/etc/rc.d/init.d/Source-Chat-Relay
start() {
echo -n "Starting Source-Chat-Relay... "
nohup ./bin/server -service start &
touch /var/lock/subsys/Source-Chat-Relay
return 0
}
stop() {
echo -n "Shutting down Source-Chat-Relay... "
nohup ./bin/server -service stop &
rm -f /var/lock/subsys/Source-Chat-Relay
return 0
}
case "$1" in
start)
start
;;
stop)
stop
;;
status)
;;
restart)
stop
start
;;
reload)
;;
*)
echo "Usage: Source-Chat-Relay {start|stop|status|reload|restart}"
exit 1
;;
esac
exit $?`
I have no idea what that is or intends to do, you'll need to view the manual for your distribution.