mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 08:03:29 +00:00
2a4e0c8685
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
18 lines
353 B
Desktop File
18 lines
353 B
Desktop File
[Unit]
|
|
Description=Gitea (Git with a cup of tea)
|
|
After=network.target
|
|
|
|
[Service]
|
|
RestartSec=30s
|
|
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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|