📅  最后修改于: 2022-03-11 14:56:37.706000             🧑  作者: Mango
sles151:/etc/systemd/system # cat /etc/systemd/system/test.service
[Unit]
Description=example systemd service unit file.
[Service]
ExecStart=/bin/bash /usr/sbin/example.sh
[Install]
WantedBy=multi-user.target