So basically I've been messing around with some scripts, wrote a couple but none of them seems to work.
Any suggestions for an autostart script of TeaSpeak servers when I reboot my VPS? Because it doesn't have an autostart option by default,, but I need one.
Here is my latest one, but idk what's wrong it doesn't work.
"Bash: Error: teaspeakserver.service is not recognizeable"
I'm grateful of all help!
Any suggestions for an autostart script of TeaSpeak servers when I reboot my VPS? Because it doesn't have an autostart option by default,, but I need one.
Here is my latest one, but idk what's wrong it doesn't work.
"Bash: Error: teaspeakserver.service is not recognizeable"
Code:
[Unit]
Description=TeaSpeak Server
[Service]
ExecStart=/opt/teaspeak/teastart.sh start
ExecStop=/opt/teaspeak/teastart.sh stop
PIDFile=/opt/teaspeak/teapid.pid
Type=forking
User=root
Group=root
[Install]
WantedBy=multi-user.target