Mercurial > lbo > hg > dnsoverrpc
view config/dnsoverrpc-server.service @ 6:47d32e3a6b2a
Add example systemd configurations
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Thu, 01 Oct 2020 15:53:14 +0200 |
parents | |
children |
line wrap: on
line source
# An example systemd unit. # Don't forget to adapt the values to your environment. # [Unit] Description=DNS Request unwrapper Required=network.target After=network.target [Install] WantedBy=multi-user.target [Service] Type=exec User=$YourUser WorkingDirectory=$dnsoverrpc_install_directory ExecStart=server/server -privkeyfile privatekey.txt -pubkeyfile publickey.txt -addr '*:5555' >> ${LOGFILE} 2>&1 ExecStop=/bin/kill -TERM $MAINPID Restart=Always