I don't like opening a question here for such a, seemingly, simple issue; but I've been stuck on this for a while now and I have no idea what to do next.

I'm running a Fedora 22 system on a development board, and I want to run a file (For the sake of simplicity, that file is just a compiled.c that prints "Hello World") called start, so it's address is /root/start.

So I've gone to /lib/systemd/system and created start.service, which contains the following:

Description=System Start



After that, I ran systemctl enable start.service. The problem is, it's doing nothing, and even if I try to run systemctl start start.service, it won't do a thing.

Any pointers you could give me would be really helpful.

  • 1
    where do you expect it to print the Hello World message? To your terminal or something? In that case you probably shouldn't be looking at system services, and either want to look at the user sessions or loginctl. – mikeserv Feb 4 '16 at 9:44
  • Yeah, I want to have it printed to the terminal. I'll check what you told me :) – Wazowski Feb 4 '16 at 9:48
  • your session begins at login, and if you do that in a console, then your thing may be as simple as an extra line in ~/.profile. – mikeserv Feb 4 '16 at 9:51
  • But wouldn't these start after login? – Wazowski Feb 4 '16 at 10:00
  • 2
    yes. that's when your display session starts, too. what exactly are you looking for? you wanna do like a wall message before anyone logs in? in that case, you do need to be looking at system services, but also you should specify what you want. – mikeserv Feb 4 '16 at 10:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.