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

27 lines
555 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
#Requires=mysql.service
#Requires=mariadb.service
#Requires=postgresql.service
#Requires=memcached.service
#Requires=redis.service
[Service]
Type=simple
User=gitea
Group=www-data
Environment=USER=gitea HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
WorkingDirectory=/var/lib/gitea
ExecStart=/bin/ls -al /etc/gitea/
#ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
RuntimeDirectory=gitea
StateDirectory=gitea
ConfigurationDirectory=gitea
[Install]
WantedBy=multi-user.target