Skip to content
Snippets Groups Projects
Commit 527882ae authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds an ssh backup service

parent 8e73238a
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=%p-%i
# Requirements
Requires=docker.service
# Dependency ordering
After=docker.service
[Service]
Restart=always
RestartSec=10
TimeoutStartSec=60
TimeoutStopSec=15
WorkingDirectory=/media/diskb/backup/
ExecStartPre=-/opt/bin/docker-compose rm -f
ExecStart=/opt/bin/docker-compose up
ExecStop=/opt/bin/docker-compose stop
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment