[Unit] Description=dedicated counter-strike 1.6 server Wants=network.target PartOf=steam-tmux-master.service After=steam-tmux-master.service [Service] Type=oneshot WorkingDirectory=/home/steam/counter-strike1.6 User=steam Group=steam Environment=STEAMOS=1 Environment=STEAM_RUNTIME=1 Environment="DBUS_FATAL_WARNINGS=0" Environment="ADMIN=STEAM_[REDACTED]" RemainAfterExit=yes ExecStart=/usr/bin/tmux new-session -s cstrike -d /home/steam/counter-strike1.6/start-server.sh ExecStop=/usr/bin/tmux send-keys -t cstrike "/quit" Enter [Install] WantedBy=multi-user.target