1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00

Update systemd.service

This commit is contained in:
ericgaspar 2021-12-22 12:31:20 +01:00
parent b58aeba334
commit 6ca8b146f3
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -6,10 +6,10 @@ After=syslog.target network.target mysql.service slapd.service redis.service
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__DATADIR__
WorkingDirectory=/home/yunohost.app/__APP__
ExecStart=__FINALPATH__/gogs web
Restart=always
Environment=USER=__APP__ HOME=__DATADIR__
Environment=USER=__APP__ HOME=/home/yunohost.app/__APP__
[Install]
WantedBy=multi-user.target