07-26-2020, 06:05 PM
(07-26-2020, 12:25 PM)tushar_soni Wrote: Thank you Bob.Finally I got it working after digging up for a while on google, this one helped: https://philchen.com/2007/06/04/quick-and-dirty-how-to-write-and-init-script
This was very helpful.
I am installing tactic 4.8.0.b03 on centos 7 VM on virtual box according to above guidelines.
Everything went fine upto running tactic in dev mode with startup_dev.py, I could access the site on host OS with IP address.
However, when I tried to install tactic service I am getting below error.
tactic.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig tactic on
service tactic does not support chkconfig
Any workaround for this as I am using latest version of tactic from git repo?
Thanks.
(07-26-2020, 12:25 PM)tushar_soni Wrote: Thank you Bob.I created tactic user, switched to tactic user and then tried to run tactic bootstrap as mentioned here, http://community.southpawtech.com/docs/sys-admin/install-tactic-centos7/
This was very helpful.
I am installing tactic 4.8.0.b03 on centos 7 VM on virtual box according to above guidelines.
Everything went fine upto running tactic in dev mode with startup_dev.py, I could access the site on host OS with IP address.
However, when I tried to install tactic service I am getting below error.
tactic.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig tactic on
service tactic does not support chkconfig
Any workaround for this as I am using latest version of tactic from git repo?
Thanks.
But I am getting error as in attached snapshot.
I copied service in /etc/rc.d/init.d and then changed permission as mentioned above and then added it to ckhconfig like below,
Code:
> /etc/rc.d/init.d/tactic chkconfig --add
> /etc/rc.d/init.d/tactic chkconfig on
> systemctl start tactic
That's it!
But still this is not enabled across reboots, I have to run chkconfig again on everyboot.
There must be some solution for this.
Thanks