# my-template-sh.service # chmod 777 my-template-sh.service # copy in /etc/systemd/system # systemctl enable my-template-sh.service # [Unit] Description=custom template file for systemd [Service] ExecStart=/usr/local/bin/./myscript.sh [Install] WantedBy=multi-user.target