Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Commit

Permalink
glusterd2.service: Read in env vars from /etc/sysconfig/glusterd2/*
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kshlm committed Sep 18, 2018
1 parent ea0c111 commit bb96edd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extras/systemd/glusterd2.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bb96edd

Please sign in to comment.