coren has uploaded a new change for review. https://gerrit.wikimedia.org/r/228289
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(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/89/228289/1 diff --git a/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb b/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb index be907da..03046f8 100644 --- a/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb +++ b/modules/labstore/templates/initscripts/cleanup-snapshots.systemd.erb @@ -2,5 +2,6 @@ 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..88b1f8c 100644 --- a/modules/labstore/templates/initscripts/replicate.systemd.erb +++ b/modules/labstore/templates/initscripts/replicate.systemd.erb @@ -2,5 +2,6 @@ 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: newchange Gerrit-Change-Id: Ia7f26e699d92176113fc162cb692427e849b37c9 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: coren <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
