16 lines
336 B
Desktop File
16 lines
336 B
Desktop File
# /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
|