12-10-2019, 12:06 AM
Getting a little bit closer. Not sure if I have to have the actual tactic user but here is the output (same output if I try as the root user)
[fedora@ip-172-31-24-227 opt]$ cd /etc/init.d/
[fedora@ip-172-31-24-227 init.d]$ sudo -u apache ./tactic_python3 start
TACTIC_INSTALL_DIR = /opt/tactic/tactic
TACTIC_SITE_DIR =
TACTIC_DATA_DIR = /opt/tactic/tactic_data
Starting Tactic: ./tactic_python3: line 78: kill: (1911) - No such process
Success
[fedora@ip-172-31-24-227 init.d]$ ps -ef | grep python
root 501 1 0 Dec09 ? 00:00:00 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid
fedora 1998 1845 0 00:03 pts/0 00:00:00 grep --color=auto python
[fedora@ip-172-31-24-227 init.d]$
[fedora@ip-172-31-24-227 opt]$ cd /etc/init.d/
[fedora@ip-172-31-24-227 init.d]$ sudo -u apache ./tactic_python3 start
TACTIC_INSTALL_DIR = /opt/tactic/tactic
TACTIC_SITE_DIR =
TACTIC_DATA_DIR = /opt/tactic/tactic_data
Starting Tactic: ./tactic_python3: line 78: kill: (1911) - No such process
Success
[fedora@ip-172-31-24-227 init.d]$ ps -ef | grep python
root 501 1 0 Dec09 ? 00:00:00 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid
fedora 1998 1845 0 00:03 pts/0 00:00:00 grep --color=auto python
[fedora@ip-172-31-24-227 init.d]$