PtokaX systemd Service File

Tested and used on Debian 9 Stretch. This also assumes you’re using a non-privilaged 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