Run PtokaX Under systemd

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

Leave a Reply

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