This question already has an answer here:
- Writing basic systemd service files 3 answers
I am renting a Virtual Cloud Server with Ubuntu 16.04 LST and I installed Swift 3 and my developed chat server as collection of
.swift files. I can compile and run my chat server using swift commands. But as soon as I close my SSH connection the server stops. Yea, I can understand why.
- How can I start my chat server permanently on my Virtual Cloud Server?
- Do I really need to make it as a service e.g.
service squid startthen how?
Where to start? I searched a lot in internet but could not find any example or advice. Any help? Thank you in advance.