Good Day Folks,
I did post about this some months ago but have since moved from Apache to NGINX (maybe no different for this) and I am having trouble getting TS to start as a service.
I created a file here /lib/systemd/system/ts3server.service with the following:
[Unit]
Description=Teamspeak Service
Wants=network.target
[Service]
WorkingDirectory=/home/smiley/ts3
User=teamspeak
ExecStart=/home/smiley/ts3/ts3server_minimal_runscript.sh
ExecStop=/home/smiley/ts3/ts3server_startscript.sh stop
ExecReload=/home/smiley/ts3/ts3server_startscript.sh restart
PIDFile=/home/smiley/ts3/ts3server.pid
Restart=always
RestartSec=15
[Install]
WantedBy=multi-user.target
Needless to say it did not work
But after I noticed there is no ts3server_startscript.sh stop file in my directory?? Not sure why, not something I would have deleted for example.
Can anyone please spring some light on this for me. It is not a huge problem to manually start ts3 but still, easier if it starts itself
Thank you
Smiley