gentoo-overlay/www-apps/gitea/files/gitea.service
Manuel Friedli 23ffbe2749 www-apps/gitea: Add ebuild for version 1.5.0.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
2018-09-01 23:54:51 +02:00

26 lines
472 B
Desktop File

[Unit]
Description=Gitea service
Documentation=https://gitea.io
AssertPathIsDirectory=/var/lib/gitea
AssertPathIsReadWrite=/var/lib/gitea
After=network.target
Requires=network.target
After=mysqld.service
Requires=mysqld.service
[Service]
User=git
Group=git
Environment="GITEA_CUSTOM=/var/lib/gitea"
WorkingDirectory=/var/lib/gitea
ExecStart=/usr/bin/gitea web -c /var/lib/gitea/conf/app.ini
Restart=always
PrivateTmp=true
Nice=5
[Install]
WantedBy=multi-user.target