portable-services/alpine/gitea/systemd/gitea.service

25 lines
534 B
SYSTEMD
Raw Normal View History

2019-07-09 18:30:30 +02:00
[Unit]
Description=Gitea (Git with a cup of tea)
After=network.target
2019-07-26 17:26:59 +02:00
#Requires=sshd.socket
2019-07-09 18:30:30 +02:00
#Requires=mysql.service
#Requires=mariadb.service
#Requires=postgresql.service
#Requires=memcached.service
#Requires=redis.service
[Service]
RestartSec=2s
Restart=always
2019-08-01 18:16:23 +02:00
User=gitea
2019-07-09 18:30:30 +02:00
Group=www-data
WorkingDirectory=/var/lib/gitea
Environment=USER=gitea HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
2019-07-26 17:26:59 +02:00
ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
2019-07-09 18:30:30 +02:00
StateDirectory=gitea
ConfigurationDirectory=gitea
[Install]
WantedBy=multi-user.target