mirror of
https://github.com/gluster/glusterd2.git
synced 2026-02-05 12:45:38 +01:00
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.
15 lines
378 B
Desktop File
15 lines
378 B
Desktop File
[Unit]
|
|
Description=GlusterD2, the management service for GlusterFS (pre-release)
|
|
Requires=rpcbind.service
|
|
After=network.target rpcbind.service
|
|
Before=network-online.target
|
|
Conflicts=glusterd.service
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/glusterd2/*
|
|
ExecStart=/usr/sbin/glusterd2 --config=/etc/glusterd2/glusterd2.toml
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|