diff options
author | brd <brd@FreeBSD.org> | 2017-01-20 08:04:37 +0800 |
---|---|---|
committer | brd <brd@FreeBSD.org> | 2017-01-20 08:04:37 +0800 |
commit | 1fd0a1b5aba2dd3d1f03cac2f21e723fe61d3ced (patch) | |
tree | b0e2ac46c28bf65f017fca11d975d0387bbc5601 /www/grafana3 | |
parent | 56f372dcdc55ce97ea5c929e1b29b5f79dc26f76 (diff) | |
download | freebsd-ports-gnome-1fd0a1b5aba2dd3d1f03cac2f21e723fe61d3ced.tar.gz freebsd-ports-gnome-1fd0a1b5aba2dd3d1f03cac2f21e723fe61d3ced.tar.zst freebsd-ports-gnome-1fd0a1b5aba2dd3d1f03cac2f21e723fe61d3ced.zip |
For www/grafana3 create the run directory on startup for systems where
/var/run is on a ramdisk.
PR: 215442
Reported by: Mark.Martinec@ijs.si
Approved by: bdrewery (implicit)
Diffstat (limited to 'www/grafana3')
-rw-r--r-- | www/grafana3/Makefile | 2 | ||||
-rw-r--r-- | www/grafana3/files/grafana3.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/www/grafana3/Makefile b/www/grafana3/Makefile index 42cf884a14c7..d5055dbbed3a 100644 --- a/www/grafana3/Makefile +++ b/www/grafana3/Makefile @@ -3,7 +3,7 @@ PORTNAME= grafana PORTVERSION= 3.1.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= 3 CATEGORIES= www diff --git a/www/grafana3/files/grafana3.in b/www/grafana3/files/grafana3.in index ee9c48fb629a..6b748498a4c6 100644 --- a/www/grafana3/files/grafana3.in +++ b/www/grafana3/files/grafana3.in @@ -42,6 +42,7 @@ grafana_precmd() chown ${grafana3_user}:${grafana3_group} %%GRAFANADATADIR%% chown ${grafana3_user}:${grafana3_group} %%GRAFANALOGDIR%% chown ${grafana3_user}:${grafana3_group} %%GRAFANAHOMEDIR%%data/log/ + install -d -o ${grafana3_user} %%GRAFANAPIDDIR%% install -o ${grafana3_user} /dev/null ${pidfile} } |