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.
/etc/systemd/system/3proxy.service
[Unit]
Description=Simple proxy(3proxy) service
After=network.target

[Service]
User=nobody
Group=nogroup
ExecStart=/usr/bin/proxy -l/var/log/1pfg/3proxy.log -4 -p10321

[Install]
WantedBy=multi-user.target

continue reindexing the scripts
sudo systemctl daemon-reload

then enable the script to launch
sudo systemctl enable 3proxy
crontab?!
<o)