Centos7 开机启动报错

[root@file init.d]# service seafile start
Starting seafile (via systemctl): Failed to start seafile.service: Unit is not loaded properly: Invalid argument.
See system logs and ‘systemctl status seafile.service’ for details.
[FAILED]
[root@file init.d]# systemctl status seafile.service -l
● seafile.service - Seafile
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)

Feb 12 12:39:58 file.server systemd[1]: seafile.service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 12 12:40:06 file.server systemd[1]: [/etc/systemd/system/seafile.service:8] Executable path is not absolute, ignoring: ${seafile_dir}/seafile-server-latest/seafile.sh start
Feb 12 12:40:06 file.server systemd[1]: [/etc/systemd/system/seafile.service:9] Executable path is not absolute, ignoring: ${seafile_dir}/seafile-server-latest/seafile.sh stop
Feb 12 12:40:06 file.server systemd[1]: seafile.service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 12 12:40:10 file.server systemd[1]: [/etc/systemd/system/seafile.service:8] Executable path is not absolute, ignoring: ${seafile_dir}/seafile-server-latest/seafile.sh start
Feb 12 12:40:10 file.server systemd[1]: [/etc/systemd/system/seafile.service:9] Executable path is not absolute, ignoring: ${seafile_dir}/seafile-server-latest/seafile.sh stop
Feb 12 12:40:10 file.server systemd[1]: seafile.service lacks both ExecStart= and ExecStop= setting. Refusing.
Feb 12 12:40:17 file.server systemd[1]: [/etc/systemd/system/seafile.service:8] Executable path is not absolute, ignoring: ${seafile_dir}/seafile-server-latest/seafile.sh start
Feb 12 12:40:17 file.server systemd[1]: [/etc/systemd/system/seafile.service:9] Executable path is not absolute, ignoring: ${seafile_dir}/seafile-server-latest/seafile.sh stop
Feb 12 12:40:17 file.server systemd[1]: seafile.service lacks both ExecStart= and ExecStop= setting. Refusing.
按照教程生产文件后,启动服务报错如以上显示,求助,谢谢!

把你的启动脚本贴出来看看吧,应该是这个路径写的有问题