Skip to contentSkip to conversation

janitor: Add the systemd unit file used on the autobuilder

PATCH New Michael Halstead 1 participant 1 message Sep 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 janitor: Add the systemd unit file used on the autobuilder

---
 janitor/ab-janitor.service | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 janitor/ab-janitor.service
janitor/ab-janitor.service new file +14 -0
new file mode 100644
index 0000000..5e834af
@@ -0,0 +1,14 @@
+# /etc/systemd/system/ab-janitor.service
+[Unit]
+Description=Autobuilder Janitor Service
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+User=pokybuild
+WorkingDirectory=/home/pokybuild
+Type=simple
+ExecStart=/usr/bin/python3 /home/pokybuild/yocto-autobuilder-helper/janitor/ab-janitor
+
+[Install]
+WantedBy=multi-user.target
Signature · 1 line
2.26.2