cd /etc/systemd/system
sudo nano oh-dbms.service
#write the bellow configuration and save
[Unit]
Description=Open Hospital DBMS
[Service]
ExecStart=/home/USER/git/run-db.sh
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable oh-dbms.service
nano /home/USER/git/run-db.sh
chmod +x /home/USER/git/run-db.sh
#!/bin/bash
docker-compose -f /home/USER/git/openhospital-core/docker-compose.yml up -d;

An eastern european proverb says that in order to give a deeper meaning to one’s life, in the course of our life it is necessary to build a house, give birth to a child and plant a tree.
Feel free to contact me contact me.