1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00
Files
glusterd2/extras/systemd/glusterd2.service
Kaushal M bb96edd1db 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.
2018-09-18 14:34:47 +05:30

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