systemd service systemd service copy xxx.service to /etc/systemd/system/ chmod +x /etc/systemd/system/xxx.service systemctl enable xxx.service