rosse
2 years agoNew Contributor
How to start Collaborator automatically after reboot on RHEL 7
Hello, I am fairly new to Linux and I need to set up our Collaborator instance to start automatically after a reboot. We are using Red Hat Enterprise Linux 7.9 and I can't figure out how to achieve t...
- 2 years ago
Here is what we use on RHEL, assumes you are using mysql
Create a startup script
/etc/systemd/system/ccollab.service
[Unit]
Description=Collaborator_Startup
After=mysql.service[Service]
Type=oneshot
ExecStart=<path to your installation>/ccollab-server start
ExecStop=<path to your installation>/ccollab-server stop
User=<user account you run collaborator with>
RemainAfterExit=yes[Install]
WantedBy=multi-user.targetSet permissions on script
chmod 755 /etc/systemd/system/ccollab.service
Enable the script
systemctl enable ccollab.service
Start the service
systemctl start ccollab.service