aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-10-06 15:06:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-10-06 15:06:59 +0200
commit0ef1bdfb0f5ce8e0f2f6adb84608cd098660e558 (patch)
tree0634d1127fe8d3e7f37749bedd6c7e8e509cab38
parent8ac13516f2def2c8d01a2ea11a039ebeafdef8fe (diff)
Use multi-user.target instead of default.target in systemd units
It appears to be more appropriate according to: https://lists.freedesktop.org/archives/systemd-devel/2017-July/039325.html
-rw-r--r--bbot/bbot-agent@.service4
-rw-r--r--etc/bootstrap/bbot-bootstrap.service4
2 files changed, 4 insertions, 4 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index 3f41abc..561f902 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -1,6 +1,6 @@
[Unit]
Description=bbot agent for %I
-After=default.target
+After=multi-user.target
[Service]
Type=simple
@@ -54,4 +54,4 @@ Group=build
WorkingDirectory=~
[Install]
-WantedBy=default.target
+WantedBy=multi-user.target
diff --git a/etc/bootstrap/bbot-bootstrap.service b/etc/bootstrap/bbot-bootstrap.service
index 8ff2aab..8879c72 100644
--- a/etc/bootstrap/bbot-bootstrap.service
+++ b/etc/bootstrap/bbot-bootstrap.service
@@ -1,6 +1,6 @@
[Unit]
Description=bbot worker bootstrap
-After=default.target
+After=multi-user.target
Conflicts=getty@tty1.service
[Service]
@@ -30,4 +30,4 @@ TTYReset=yes
TTYVHangup=yes
[Install]
-WantedBy=default.target
+WantedBy=multi-user.target