24 lines
534 B
Desktop File
24 lines
534 B
Desktop File
[Unit]
|
|
Description=Gitea (Git with a cup of tea)
|
|
After=network.target
|
|
#Requires=sshd.socket
|
|
|
|
#Requires=mysql.service
|
|
#Requires=mariadb.service
|
|
#Requires=postgresql.service
|
|
#Requires=memcached.service
|
|
#Requires=redis.service
|
|
|
|
[Service]
|
|
RestartSec=2s
|
|
Restart=always
|
|
User=gitea
|
|
Group=www-data
|
|
WorkingDirectory=/var/lib/gitea
|
|
Environment=USER=gitea HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
|
|
ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
|
|
StateDirectory=gitea
|
|
ConfigurationDirectory=gitea
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|