1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-18 16:13:44 +00:00
gitea_packaging/.packaging/gitea.service

18 lines
353 B
SYSTEMD
Raw Normal View History

2020-04-12 11:43:49 +00:00
[Unit]
Description=Gitea (Git with a cup of tea)
After=network.target
[Service]
RestartSec=30s
2020-04-12 11:43:49 +00:00
Type=simple
User=gitea
Group=gitea
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
Restart=on-failure
Environment="GITEA_WORK_DIR=/var/lib/gitea/"
EnvironmentFile=-/etc/default/gitea
2020-04-12 11:43:49 +00:00
[Install]
2020-06-20 07:49:09 +00:00
WantedBy=multi-user.target