[Unit] Description=fwasr service Wants=systemd-networkd.service Requires=nginx.service [Service] Type=forking ExecStart=su - ymq -c "/data/ymq/py/fwasr/script/fwasr.sh" ExecStop=su - ymq "/d/ymq/bin/killname fwasr.py" [Install] WantedBy=multi-user.target