mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-10-22 23:02:21 +02:00
janitor: Add the systemd unit file used on the autobuilder
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0f8534c747
commit
987487fa4c
14
janitor/ab-janitor.service
Normal file
14
janitor/ab-janitor.service
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user