Skip to content

Commit

Permalink
tree: Remove dependency on startup-tags-service
Browse files Browse the repository at this point in the history
startup-tags.service has been made a dependency of sysinit.target. As
all services depend on sysinit.target by default, we no longer need an
explicit dependency on startup-targs.service in the individual services.
  • Loading branch information
donald committed Jun 20, 2023
1 parent 0916bc6 commit 94078da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions misc_systemd_units/enable_overcommit_memory.service
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[Unit]
Wants=startup-tags.service
After=startup-tags.service

ConditionPathExists=|/node/tags/desktop
ConditionHost=|beebee-ate.molgen.mpg.de
ConditionHost=|icebear.molgen.mpg.de
ConditionHost=|flughafenberlinbrandenburgwillybrandt.molgen.mpg.de

[Service]

Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/sysctl vm.overcommit_memory=0
ExecStop=/sbin/sysctl vm.overcommit_memory=2

[Install]

WantedBy=multi-user.target
1 change: 0 additions & 1 deletion mkmotd/motd.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[Unit]
Description=Make motd
After=startup-tags.service

[Service]
Type=oneshot
Expand Down

0 comments on commit 94078da

Please sign in to comment.