aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/init/debian/gitea2
-rw-r--r--contrib/init/gentoo/gitea2
-rw-r--r--contrib/init/suse/gitea2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/init/debian/gitea b/contrib/init/debian/gitea
index b7911f106e..2246309440 100644
--- a/contrib/init/debian/gitea
+++ b/contrib/init/debian/gitea
@@ -18,7 +18,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
DESC="Gitea - Git with a cup of tea"
NAME=gitea
SERVICEVERBOSE=yes
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
WORKINGDIR=/var/lib/$NAME
DAEMON=/usr/local/bin/$NAME
diff --git a/contrib/init/gentoo/gitea b/contrib/init/gentoo/gitea
index c40fc93f5f..e423eae54d 100644
--- a/contrib/init/gentoo/gitea
+++ b/contrib/init/gentoo/gitea
@@ -7,7 +7,7 @@ start_stop_daemon_args="--user ${USER} --chdir ${DIR}"
command="/usr/local/bin/gitea"
command_args="web -c /etc/gitea/app.ini"
command_background=yes
-pidfile=/var/run/gitea.pid
+pidfile=/run/gitea.pid
depend()
{
diff --git a/contrib/init/suse/gitea b/contrib/init/suse/gitea
index 23178583ff..6391bedaf8 100644
--- a/contrib/init/suse/gitea
+++ b/contrib/init/suse/gitea
@@ -93,7 +93,7 @@ case "$1" in
# Return value is slightly different for the status command:
# 0 - service up and running
- # 1 - service dead, but /var/run/ pid file exists
+ # 1 - service dead, but /run/ pid file exists
# 2 - service dead, but /var/lock/ lock file exists
# 3 - service not running (unused)
# 4 - service status unknown :-(