#47491 Update systemd service file to use PartOf directive
Closed: Fixed None Opened 6 years ago by nkinder.

Since our systemd service file was written, a new directive has been added named "PartOf". This directive is supposed to be used when your service has multiple instances that you want to start/stop as a group. We are currently using the "BindTo" directive for this purpose, which was the recommended way previously. Now that the "PartOf" directive has been added for this purpose, we should use it instead. I believe that we might be able to stop using the "After" directive as well, but this needs testing.

For details on the new "PartOf" directive, see the systemd.unit manpage.


git merge ticket47491
Updating e0c78d5..033b3b1
Fast-forward
wrappers/systemd.template.service.in | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

git push origin master
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 507 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
e0c78d5..033b3b1 master -> master

commit 033b3b1
Author: Mark Reynolds mreynolds@redhat.com
Date: Fri Oct 4 12:20:53 2013 -0400

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.3 - 10/13 (October)

3 years ago

Login to comment on this ticket.

Metadata