Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178020025
D60372.1795774220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
849 B
Referenced Files
None
Subscribers
None
D60372.1795774220.diff
View Options
Index: sysutils/alloy/Makefile
===================================================================
--- sysutils/alloy/Makefile
+++ sysutils/alloy/Makefile
@@ -1,7 +1,7 @@
PORTNAME= alloy
DISTVERSIONPREFIX= v
DISTVERSION= 1.16.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= sysutils
MAINTAINER= zach.leslie@grafana.com
Index: sysutils/alloy/files/alloy.in
===================================================================
--- sysutils/alloy/files/alloy.in
+++ sysutils/alloy/files/alloy.in
@@ -56,6 +56,8 @@
[ -n "${alloy_stop_timeout}" ] && stop_cmd="alloy_stop"
alloy_startprecmd() {
+ # Ensure ownership on each start for non-default alloy_users
+ install -d -o ${alloy_user} -g ${alloy_group} -m 0750 ${alloy_storage_path}
if [ ! -e ${pidfile} ]; then
install -o ${alloy_user} -g ${alloy_group} /dev/null ${pidfile}
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 27, 10:10 AM (9 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42041815
Default Alt Text
D60372.1795774220.diff (849 B)
Attached To
Mode
D60372: sysutils/alloy: Ensure alloy_user can write to /var/alloy
Attached
Detach File
Event Timeline