From e1b3397819e8aa407f440c2f8b2d92bcb75d523f Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Thu, 1 Nov 2018 17:07:56 -0400 Subject: [PATCH] Correct configuration of systemd timer --- files/wpt-sync.service | 1 + playbook.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/files/wpt-sync.service b/files/wpt-sync.service index 7a8a5ec..a225e84 100644 --- a/files/wpt-sync.service +++ b/files/wpt-sync.service @@ -4,6 +4,7 @@ After=network.target auditd.service wpt.service [Service] WorkingDirectory=/root/web-platform-tests/ +Type=oneshot ExecStart=/root/sync-wpt.sh KillMode=control-group diff --git a/playbook.yml b/playbook.yml index f88d92c..3f0b1f9 100644 --- a/playbook.yml +++ b/playbook.yml @@ -66,7 +66,7 @@ state: started with_items: - wpt - - wpt-sync + - wpt-sync.timer - include: certbot.yml when: not vagrant_provision