tkrn's blog

random thoughts at best

Menu
  • GitHub repo
  • The Hardware
  • tkrn’s archive
  • OpenPGP Key
  • stack overflow
Menu
PtokaX Banner

Run PtokaX Under systemd

Posted on March 4, 2019December 11, 2024 by tkrn

Here is the example to run PtokaX Direct Connect Hub software as a daemon under systemd. Tested and used on Debian 9 Stretch. This also assumes you’re using a non-privileged user and your binary is at /usr/local/bin/PtokaX.

[Unit]
Description=PtokaX Service
After=network.target

[Service]
Type=simple
User=ptokax
Group=ptokax
ExecStart=/usr/local/bin/PtokaX -d -c /home/ptokax/
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Related

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Nextcloud Virtual File System VFS on Ubuntu 24.10, 24.04, 22.04
  • Site-to-Site OpenVPN between OPNsense and Ubiquiti EdgeRouter EdgeOS
  • Debrand a Dell EMC VxRail Node to a PowerEdge Server
  • HPE ssacli on TrueNAS SCALE
  • Set child encrypted ZFS datasets to inherit the parent – Scripted Fix!

Categories

  • Arcade
  • Development
  • FreeNAS/ZFS
  • Sysadmin
  • Tinkering
  • Uncategorized
©2025 tkrn's blog | Theme by SuperbThemes