docker_gitea/docker.gitea.service

14 lines
305 B
SYSTEMD
Raw Normal View History

2023-02-28 20:43:05 +00:00
[Unit]
Description=gitea service with docker compose
PartOf=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=true
WorkingDirectory=/var/lib/gitea
ExecStart=/usr/bin/docker-compose up -d --remove-orphans
ExecStop=/usr/bin/docker-compose down
[Install]
WantedBy=multi-user.target