coren has submitted this change and it was merged. Change subject: labstore: make the replication systemd units oneshot ......................................................................
labstore: make the replication systemd units oneshot Change-Id: Ia7f26e699d92176113fc162cb692427e849b37c9 --- M modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb M modules/labstore/templates/initscripts/replicate.systemd.erb 2 files changed, 2 insertions(+), 2 deletions(-) Approvals: coren: Looks good to me, approved BBlack: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb b/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb index be907da..ec68f53 100644 --- a/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb +++ b/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb @@ -2,5 +2,5 @@ Description=Clean replication snapshots from <%= @volume_group %> [Service] +Type=oneshot ExecStart=/usr/local/sbin/cleanup-snapshots <%= @volume_group %> <%= @keep_free %> -Restart=no diff --git a/modules/labstore/templates/initscripts/replicate.systemd.erb b/modules/labstore/templates/initscripts/replicate.systemd.erb index bb216e3..849cfbc 100644 --- a/modules/labstore/templates/initscripts/replicate.systemd.erb +++ b/modules/labstore/templates/initscripts/replicate.systemd.erb @@ -2,5 +2,5 @@ Description=Replicate storage between hosts (<%= @title %>) [Service] +Type=oneshot ExecStart=/usr/local/sbin/storage-replicate <%= @src_path %> <%= @dest_host %> <%= @dest_path %> -Restart=no -- To view, visit https://gerrit.wikimedia.org/r/228289 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia7f26e699d92176113fc162cb692427e849b37c9 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: coren <[email protected]> Gerrit-Reviewer: BBlack <[email protected]> Gerrit-Reviewer: coren <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
