hilfe mein git ist komisch
This commit is contained in:
15
etc/systemd/system/uptime-kuma.service
Normal file
15
etc/systemd/system/uptime-kuma.service
Normal file
@@ -0,0 +1,15 @@
|
||||
# /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
|
||||
Reference in New Issue
Block a user