forked from tastytea/overlay
tastytea
dfc09536eb
Signed-off-by: tastytea <tastytea@tastytea.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
29 lines
553 B
Desktop File
29 lines
553 B
Desktop File
[Unit]
|
|
Description=Gitea service
|
|
Documentation=https://docs.gitea.io/
|
|
|
|
AssertPathIsDirectory=/var/lib/gitea
|
|
AssertPathIsReadWrite=/var/lib/gitea
|
|
|
|
After=network.target
|
|
Requires=network.target
|
|
After=mysqld.service
|
|
After=postgresql.service
|
|
After=memcached.service
|
|
After=redis.service
|
|
|
|
[Service]
|
|
User=git
|
|
Group=git
|
|
|
|
Environment="GITEA_WORK_DIR=/var/lib/gitea 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
|