系统重启后 systemctl 服务未启动

systemctl service not starting after system restart

我有这个服务,我希望它能够在系统重新启动时作为服务启动。我正在使用 Ubuntu 15.10。服务配置文件如下所示:

[Unit]
Description=Service client 
After=syslog.target

[Service]
ExecStart=/bin/bash -c "/usr/local/bin/service_clientd start"
ExecStop=/bin/bash -c "/usr/local/bin/service_clientd stop"
Type=simple

[Install]
WantedBy=multi-user.target

使用systemctl命令完美启动服务,但系统重启后没有自动启动

这样做:

systemctl enable servicename.service

https://wiki.archlinux.org/index.php/systemd#Using_units