Skip to content

Commit

Permalink
v6.23
Browse files Browse the repository at this point in the history
+ DietPi-Software | Gogs: Revert "WorkingDirectory" removal as this is NOT users home by default. Skip log file pre-creation which is not required.
  • Loading branch information
MichaIng authored May 11, 2019
1 parent 25415ca commit e20d784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -10518,7 +10518,6 @@ _EOF_

# Directories
mkdir -p $G_FP_DIETPI_USERDATA/gogs-repo /var/log/gogs
> /var/log/gogs/gogs_daemon.log
chown -R gogs:gogs $G_FP_DIETPI_USERDATA/gogs-repo /var/log/gogs

# Database
Expand All @@ -10533,6 +10532,7 @@ After=mysqld.service mysql.service mariadb.service
[Service]
User=gogs
WorkingDirectory=/etc/gogs
ExecStart=/bin/dash -c '/etc/gogs/gogs web 2>&1 > /var/log/gogs/gogs_daemon.log'
[Install]
Expand Down

0 comments on commit e20d784

Please sign in to comment.