This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Satisfactory Dedicated Server | |
After=syslog.target | |
[Service] | |
User=steam | |
Group=steam | |
#Environment='STDOUT=/dev/null' | |
Environment='STDOUT=/home/steam/SatisfactoryDedicatedServer/server.log' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
./build-key client | |
touch client.ovpn | |
echo client >> client.ovpn | |
# replace the following with your external address | |
echo remote mysite.mydomain.com >> client.ovpn | |
echo port 1194 >> client.ovpn | |
echo proto udp >> client.ovpn | |
echo dev tun >> client.ovpn | |
echo dev-type tun >> client.ovpn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This is a skeleton of a bash daemon. To use for yourself, just set the | |
# daemonName variable and then enter in the commands to run in the doCommands | |
# function. Modify the variables just below to fit your preference. | |
daemonName="DAEMON-NAME" | |
pidDir="." | |
pidFile="$pidDir/$daemonName.pid" |