16 lines
288 B
INI
16 lines
288 B
INI
|
[Unit]
|
||
|
Description=Private, Fast, Reliable DevOps Platform
|
||
|
After=docker.target
|
||
|
Requires=docker.target
|
||
|
|
||
|
[Service]
|
||
|
Type=exec
|
||
|
User=gitea
|
||
|
Group=gitea
|
||
|
WorkingDirectory=/etc/gitea
|
||
|
ExecStart=/usr/bin/docker compose up
|
||
|
ExecStop=/usr/bin/docker compose down
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|