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:40:20 +0200
commitcb0a9a6303631950864130f8d3d6d09728ed26fd (patch)
treee3f8357615392931ef72dcdee693083e138f51f6
parent6a5c8fce4051476f398191b15763e144ea358424 (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