# /etc/systemd/system/uptime-kuma.service
[Unit]
Description=Uptime Kuma
Requires=docker.service
After=docker.service

[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/root/monitoring
ExecStart=/usr/bin/docker compose up -d uptime-kuma
ExecStop=/usr/bin/docker compose down uptime-kuma

[Install]
WantedBy=multi-user.target
