Commit f44727fe authored by Holger Levsen's avatar Holger Levsen
Browse files

r.d.n.: run all rebuilderd-workers as services after boot

parent 6e79a00d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ file *important* bugs about arch:all issues just needing no source change upload
	please join the fun!
	sudo apt install debian-repro-status ; debian-repro-status
fix riscv64 nodes:
	- worker use special worker/%n directory, use that for all?
	- keep connections on ssh tunnels, also for armhf
	- riscv64-01 and -02 have the same ssh host keys...!?
	- bullseye chdist on riscv64? (see maintenance jobs)
+16 −0
Original line number Diff line number Diff line
[Unit]
Description=rebuilderd-worker: rebuild packages
After=rebuilderd_boot_cleanup.service

[Service]
User=rebuilderd
Group=rebuilderd
WorkingDirectory=/srv/rebuilderd/worker/%i
Restart=always
RestartSec=0
ExecStart=/usr/bin/rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
CPUSchedulingPolicy=idle
IOSchedulingClass=3

[Install]
WantedBy=multi-user.target
+13 −0
Original line number Diff line number Diff line
[Unit]
Description=Run once at system boot to cleanup rebuilderd related files
After=local-fs.target
After=network.target
#After=XXX

[Service]
ExecStart=/srv/jenkins/bin/rebuilderd_cleanup.sh
RemainAfterExit=true
Type=oneshot

[Install]
WantedBy=multi-user.target
+16 −0
Original line number Diff line number Diff line
[Unit]
Description=rebuilderd-worker: rebuild packages
After=rebuilderd_boot_cleanup.service

[Service]
User=rebuilderd
Group=rebuilderd
WorkingDirectory=/srv/rebuilderd/%i
Restart=always
RestartSec=0
ExecStart=/usr/bin/rebuilderd-worker -c /opt/etc/rebuilderd-worker.conf connect
CPUSchedulingPolicy=idle
IOSchedulingClass=3

[Install]
WantedBy=multi-user.target
+13 −0
Original line number Diff line number Diff line
[Unit]
Description=Run once at system boot to cleanup rebuilderd related files
After=local-fs.target
After=network.target
#After=XXX

[Service]
ExecStart=/srv/jenkins/bin/rebuilderd_cleanup.sh
RemainAfterExit=true
Type=oneshot

[Install]
WantedBy=multi-user.target
Loading