Skip to content

Instantly share code, notes, and snippets.

@lucmann
Created August 21, 2025 13:01
Show Gist options
  • Select an option

  • Save lucmann/04feb8da39fb4500c2a81dbadc05a461 to your computer and use it in GitHub Desktop.

Select an option

Save lucmann/04feb8da39fb4500c2a81dbadc05a461 to your computer and use it in GitHub Desktop.

Before:

➜  ~ systemctl --user cat thelounge.service
# /usr/lib/systemd/user/thelounge.service
[Unit]
Description=The Lounge IRC client

[Service]
Type=simple
Environment=THELOUNGE_HOME=~/.thelounge
ExecStart=/usr/bin/thelounge start

[Install]
WantedBy=default.target

After:

➜  ~ systemctl --user cat thelounge.service          
# /usr/lib/systemd/user/thelounge.service
[Unit]
Description=The Lounge IRC client

[Service]
Type=simple
Environment=THELOUNGE_HOME=~/.config/thelounge
ExecStart=/usr/bin/thelounge start

[Install]
WantedBy=default.target
➜  ~ systemctl --user status thelounge.service
● thelounge.service - The Lounge IRC client
     Loaded: loaded (/usr/lib/systemd/user/thelounge.service; enabled; preset: enabled)
     Active: active (running) since Thu 2025-08-21 20:54:26 CST; 5min ago
 Invocation: 32e98a7e158543e2bdea3868a558b0f0
   Main PID: 63570 (MainThread)
      Tasks: 11 (limit: 8951)
     Memory: 44.1M (peak: 64M)
        CPU: 1.869s
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/thelounge.service
             └─63570 node /usr/bin/thelounge start

Aug 21 20:54:26 vostro systemd[672]: Started The Lounge IRC client.
Aug 21 20:54:26 vostro thelounge[63570]: 2025-08-21 12:54:26 [INFO] Configuration file created at /home/luc/.config/thelounge/config.js.
Aug 21 20:54:27 vostro thelounge[63570]: 2025-08-21 12:54:27 [INFO] The Lounge v4.4.3 (Node.js 24.6.0 on linux x64)
Aug 21 20:54:27 vostro thelounge[63570]: 2025-08-21 12:54:27 [INFO] Configuration file: /home/luc/.config/thelounge/config.js
Aug 21 20:54:27 vostro thelounge[63570]: 2025-08-21 12:54:27 [INFO] Available at http://[::]:9000/ in private mode
Aug 21 20:54:27 vostro thelounge[63570]: 2025-08-21 12:54:27 [INFO] New VAPID key pair has been generated for use with push subscription.
Aug 21 20:54:27 vostro thelounge[63570]: 2025-08-21 12:54:27 [INFO] User luc loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment