Skip to content

Instantly share code, notes, and snippets.

@Taurolyon
Taurolyon / satisfactory.service
Last active December 11, 2022 05:06 — forked from vsbabu/springbootapp.service
Skeleton service file for SystemD (/etc/systemd/system/filename.service)
[Unit]
Description=Satisfactory Dedicated Server
After=syslog.target
[Service]
User=steam
Group=steam
#Environment='STDOUT=/dev/null'
Environment='STDOUT=/home/steam/SatisfactoryDedicatedServer/server.log'
@Taurolyon
Taurolyon / create-ovpn.sh
Last active June 13, 2018 06:41 — forked from Morley93/openvpn.md
This is how you can take an openvpn .ovpn config file and extract the certificates/key required to import the profile into NetworkManager.
#!/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
@Taurolyon
Taurolyon / skeleton-daemon.sh
Created March 27, 2016 14:25 — forked from shawnrice/skeleton-daemon.sh
A template to write a quick daemon as a bash script
#!/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"