Systemd Service
Template
systemd service to run docker-compose
Enable systemd service
You can create a file by using the template above accordingly, let say named myssytemd.service
Copy the service into /etc/systemd/system and enable it
After it is enabled and is started, the service would be running automatically even after the system reboots.
Start systemd service
Stop systemd service
Disable systemd service
Check log of systemd service
Last updated