SpoofDPI icon indicating copy to clipboard operation
SpoofDPI copied to clipboard

Would you be interested in a systemd service file to run this as a service?

Open txtsd opened this issue 1 year ago • 7 comments

Description

I've created and included a hardened systemd service file in the AUR packages. It leverages a conf.d file to pull some values without having to override the service, which was designed by @IcyColdified.

txtsd avatar Aug 30 '24 14:08 txtsd

I use this on Pi4 (Debian 12): /etc/systemd/system/spoofdpi.service

[Unit]
Description=SpoofDPI service
After=network.target

[Service]
Type=simple
User=harry
ExecStart=/home/harry/.spoofdpi/bin/spoofdpi -addr 0.0.0.0 -dns-addr 192.168.5.1 -banner=false -system-proxy=false
Restart=on-failure

[Install]
WantedBy=multi-user.target

harryqt avatar Sep 02 '24 11:09 harryqt

Yeah sounds great.

xvzc avatar Sep 06 '24 01:09 xvzc

What directory should I add it in?

txtsd avatar Sep 06 '24 14:09 txtsd

Will it be just a single file? then it's fine to add it to the root directory

xvzc avatar Sep 07 '24 05:09 xvzc

It's two files.

txtsd avatar Sep 07 '24 11:09 txtsd

would it be okay to put them in /_assets/systemd ?

xvzc avatar Sep 07 '24 12:09 xvzc

Yes that seems okay for now. We can move them later when we handle packaging.

txtsd avatar Sep 08 '24 13:09 txtsd