6 lines
188 B
Bash
Executable File
6 lines
188 B
Bash
Executable File
#!/bin/bash
|
|
# Toujours passer par systemd pour éviter les doublons
|
|
systemctl restart combined_api
|
|
sleep 2
|
|
systemctl is-active combined_api && echo "✅ API active" || echo "❌ API down"
|