This is a solution to become a CnCNet host server in linux servers that have systemd for service control (Debian, Ubuntu, CentOS...):
Do it as a root or add 'sudo' before every command:
useradd -m cncnet
wget -c https://downloads.cncnet.org/cncnet-server-core.tgz -O - | tar xz -C /home/cncnet
chown cncnet:cncnet /home/cncnet/cncnet-server-core
wget -O /etc/systemd/system/cncnet.service https://files.catbox.moe/dz1q2i.service
# Change 'my new name server' to your own server name
sed -i 's/My cool server/my new name server/g' /etc/systemd/system/cncnet.service
systemctl daemon-reload
systemctl enable cncnet.service
systemctl start cncnet.service
Make a service is better than crontab for auto start solution!
This topic is related to https://forums.cncnet.org/topic/6325-how-to-host-a-cncnet-server/
cncnet.txt