How can I add a service to startup in linux mint? In other systems, this is done simply.For example.
I want to run one program in the background, through a script.And I want to add this program to autoload as a service.

2 Answers 2

write a script for systemd
for example.
Description=Simple proxy(3proxy) service

ExecStart=/usr/bin/proxy -l/var/log/1pfg/3proxy.log -4 -p10321


continue reindexing the scripts
sudo systemctl daemon-reload

then enable the script to launch
sudo systemctl enable 3proxy