#!/bin/bash

# Script to automatically start backend and frontend using systemd

echo "Starting CRM backend service..."
sudo systemctl start crm-backend

echo "Starting CRM frontend service..."
sudo systemctl start crm-frontend

echo "Services started."
echo "Use './stop.sh' to stop services"
echo "Use 'sudo systemctl enable crm-backend' and 'sudo systemctl enable crm-frontend' to enable on boot"
