I'm following this tutorial (Creating my own systemd service files on Fedora 16(x86_64)) to add a new systemd .service, but it doesn't work, I did step by step correct with some modifications to my scope.
My conkystart.service
:
[Unit] Description=Service to start conky at boot After=graphical.target multi-user.target [Service] Type=simple ExecStart=/usr/local/bin/conkystart.service [Install] WantedBy=multi-user.target
My simple script:
!#/bin/bash sleep && conky;
Nothing it does'nt work. Some advice guys? What's wrong here?
!#/bin/bash
is the invalid shebang. should be#!/bin/bash
.sleep && conky;
fails withsleep: missing operand Try 'sleep --help' for more information.
. Why do you usesleep
?