[Unit] Description=Gobetween - modern LB for cloud era Documentation=https://github.com/yyyar/gobetween/wiki After=network.target remote-fs.target nss-lookup.target [Service] Type=simple PIDFile=/run/gobetween.pid #ExecStartPre=prestart some command ExecStart=/usr/sbin/gobetween -c /etc/gobetween.toml --pidfile /run/gobetween.pid ExecStop=/bin/kill -s TERM $MAINPID PrivateTmp=true LimitNOFILE=infinity [Install] WantedBy=multi-user.target