I think it's because you have nothing in the [Install] section. That's how systemd knows where to place the symlink.
My startup.service:
[Unit] Description=Startup After=network.target [Service] ExecStart=/usr/local/bin/startup.sh [Install] WantedBy=multi-user.target
Also, please learn to use BBcode.
Sorry , I forget to post this
WantedBy=multi-user.target
Indeed , I added this .
]]>My startup.service:
[Unit]
Description=Startup
After=network.target
[Service]
ExecStart=/usr/local/bin/startup.sh
[Install]
WantedBy=multi-user.target
Also, please learn to use BBcode.
]]>I tried this :
=========================
[winjeg@gpc ~]$ cat /etc/systemd/system/startup.service
[Unit]
Description=A Start Up Demon Using Bash script
After=syslog.target
Before=wicd.target
[Service]
ExecStart=/etc/startup
[Install]
========================
then I use systemctl enable the service but , still it doesn't work.