1 2 3 4 5 6 7 8 9 10 11
[Unit] Description=Swift Add User After=swift-object.service [Service] Type=oneshot EnvironmentFile=-/etc/sysconfig/swift-volumes ExecStart=/usr/local/bin/gluster-swift-add-user $GLUSTER_USER $GLUSTER_PASSWORD $GLUSTER_VOLUMES [Install] WantedBy=multi-user.target