diff --git a/conf/systemd.service b/conf/systemd.service index d25a978..cae79f0 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -12,7 +12,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=/home/__APP__ -ExecStart=/var/www/gogs/gogs web +ExecStart=__FINALPATH__/gogs web Restart=always Environment=USER=__APP__ HOME=/home/__APP__