Define victoriametrics user in the package
All checks were successful
dustin/metricspi/pipeline/head This commit looks good
All checks were successful
dustin/metricspi/pipeline/head This commit looks good
When I originally added the *victoriametrics* user to the `users` file, I did not realize that it was possible for a package to define a user. It makes much more sense to define it there.
This commit is contained in:
@@ -66,4 +66,8 @@ define VICTORIAMETRICS_INSTALL_INIT_SYSTEMD
|
||||
$(if $(BR2_PACKAGE_VICTORIAMETRICS_VMALERT),$(VICTORIAMETRICS_INSTALL_INIT_SYSTEMD_VMALERT))
|
||||
endef
|
||||
|
||||
define VICTORIAMETRICS_USERS
|
||||
victoriametrics -1 victoriametrics -1 * /var/lib/victoria-metrics /sbin/nologin -
|
||||
endef
|
||||
|
||||
$(eval $(golang-package))
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
jenkins 3000018 jenkins 3000017 * /home/jenkins /bin/sh - Jenkins
|
||||
victoriametrics -1 victoriametrics -1 * /var/lib/victoria-metrics /sbin/nologin -
|
||||
|
||||
Reference in New Issue
Block a user