Skip to content

Commit

Permalink
systemd: fix ceph-radosgw@ service
Browse files Browse the repository at this point in the history
There's no prestart.  Fix the instance name.  Cleanup.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Aug 1, 2015
1 parent 8a67561 commit 4d10dc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ PartOf=ceph.target
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/bin/radosgw -f --conf /etc/ceph/${CLUSTER}.conf --name client.radosgw.%i
ExecStartPre=/usr/lib/ceph-radosgw/ceph-radosgw-prestart.sh --cluster ${CLUSTER} --name %i
User=wwwrun
ExecStart=/usr/bin/radosgw -f --cluster ${CLUSTER} --name client.%i

[Install]
WantedBy=ceph.target

0 comments on commit 4d10dc1

Please sign in to comment.