I have recently compiled openfire, after getting it running, when I try to stop it I notice it seems to be trying to use ‘incorrect’ synatx.
travis@mycooldomain:/opt/openfire/bin$ sudo ./openfirectl stop
Shutting down openfire: ./openfirectl: 148: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]… or
kill -l [exitstatus]
Upon looking inside the stop() script I have found it’s attempted syntax to be
[ -f “$OPENFIRE_PIDFILE” ] && kill
Any ideas as to what could be going wrong? Is somehow $OPENFIRE_PIDFILE not being set properly? I would do more on my end but I know very little of this coding language.
Just some info the .pid vile IS being saved in /var/run
-rw-r–r-- 1 root root 1 May 13 15:43 openfire.pid
Openfire however is being ran as the default daemon user. Could this be the issue?