1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00

glusterd2.service: Read in env vars from /etc/sysconfig/glusterd2/*

The GD2 systemd unit now reads in environment variables from
/etc/sysconfig/glusterd2/*. This allows easier customization of GD2
installations, in particular customization of container images.

See `systemd.exec(5)` section 'Environment' for details about the format
of the environment files.
This commit is contained in:
Kaushal M
2018-09-10 21:32:57 +05:30
parent ea0c111ba1
commit bb96edd1db

View File

@@ -6,6 +6,7 @@ Before=network-online.target
Conflicts=glusterd.service
[Service]
EnvironmentFile=-/etc/sysconfig/glusterd2/*
ExecStart=/usr/sbin/glusterd2 --config=/etc/glusterd2/glusterd2.toml
KillMode=process