summarylogtreecommitdiffstats
path: root/systemd-cloud-watch.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-cloud-watch.service')
-rw-r--r--systemd-cloud-watch.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd-cloud-watch.service b/systemd-cloud-watch.service
new file mode 100644
index 000000000000..4ba91f273e51
--- /dev/null
+++ b/systemd-cloud-watch.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Forward journald logs to CloudWatch
+Wants=basic.target
+After=basic.target network.target
+
+[Service]
+User=nobody
+Group=nobody
+ExecStart=/usr/bin/systemd-cloud-watch /etc/systemd-cloud-watch.conf
+KillMode=process
+Restart=on-failure
+RestartSec=42s