Skip to content

Commit

Permalink
Update system.service to ensure DNS is ready at boot (#66)
Browse files Browse the repository at this point in the history
* Update system.service to ensure DNS is ready at boot

Add "After=network-online.target" and "Wants=network-online.target" to
ensure DNS is be up and working before thelounge service started.

On my machine I manually updated
"/usr/lib/systemd/system/thelounge.service", I assume that changing it
in system.service in the repo would reflect the change in
thelounge.service, but I did not verify in the code

Closes #65

* Remove unecessary line of system.service
  • Loading branch information
bobmorane06 authored Jul 12, 2020
1 parent 49fdc9b commit 1908c73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion systemd/system.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=The Lounge (IRC client)
After=network.target
After=network-online.target
Wants=network-online.target


[Service]
User=thelounge
Expand Down

0 comments on commit 1908c73

Please sign in to comment.