Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 602 Bytes

systemd-guide.md

File metadata and controls

12 lines (8 loc) · 602 Bytes

Systemd Guide

To ensure Baikal is up after reboots, I also included a Systemd service template which relies on the Docker Compose file to start all containers. Before you use it, make sure that the working directory matches your server setup.

sudo curl -o /etc/systemd/system/baikal.service https://raw.githubusercontent.com/ckulka/baikal-docker/master/baikal.service
# Adjust the WorkingDirectory variable

sudo systemctl enable baikal.service

This automatically starts the service whenever your server (re)boots.