关于开机后服务自启动,只能创建systemd服务?

如题,我想要在开机之后自动启动uwsgi以及nginx,在debian和redhat下只要将命令写进etc/rc.d/rc.local即可。查了资料说openSUSE应该写在/etc/rc.d/after.local,我尝试了但是没有启动。
# script with local commands to be executed from init after all scripts
# of a runlevel have been executed.
#
# Here you should add things, that should happen directly after
# runlevel has been reached.
#
# Please note that the use of this script is deprecated and should be
# avoided for starting commands. You should consider creating a dedicated
# systemd service instead.
请注意,这个脚本的使用已过时,应避免启动命令。你应该考虑创建一个专门的系统服务来代替。

systemctl enable nginx.service
systemctl start nginx.sercie

可以放到 /home/your-user-name/.config/autostart 目录下面自动执行