Skip to content

Commit 042c944

Browse files
committed
Fix systemd %I specifier to %i for hyphenated worker names
1 parent 3d65837 commit 042c944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/new-buildbot-worker.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ machine reboots:
314314
following contents::
315315

316316
[Unit]
317-
Description=Buildbot Worker %I
317+
Description=Buildbot Worker %i
318318
Documentation=man:buildbot-worker(1) https://docs.buildbot.net/
319319
After=network.target
320320
ConditionDirectoryNotEmpty=/var/lib/buildbot/worker/%i
@@ -326,7 +326,7 @@ machine reboots:
326326
Group=buildbot-worker
327327
WorkingDirectory=/var/lib/buildbot/worker/
328328
StateDirectory=buildbot/worker
329-
ExecStart=/usr/local/bin/buildbot-worker start --nodaemon %I
329+
ExecStart=/usr/local/bin/buildbot-worker start --nodaemon %i
330330
Restart=always
331331
ProtectSystem=full
332332
ProtectHome=yes

0 commit comments

Comments
 (0)