Skip to content

Instantly share code, notes, and snippets.

@xzhong86
Last active April 18, 2024 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xzhong86/d880a2cc2f5a880cf23243124b2d01cf to your computer and use it in GitHub Desktop.
Save xzhong86/d880a2cc2f5a880cf23243124b2d01cf to your computer and use it in GitHub Desktop.
Simple Systemd Service File
[Unit]
Description=qBittorrent Downloader
After=network-online.service
[Service]
Type=simple
User=xxxx
ExecStart=/usr/bin/qbittorrent-nox
[Install]
WantedBy=multi-user.target
[Unit]
Description=Enable Wake-up on LAN
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s eno1 wol g
[Install]
WantedBy=basic.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment