How to Create a systemd Linux Service

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 20

  • @manjunathbhadrannavar5165
    @manjunathbhadrannavar5165 3 месяца назад +1

    that voice at 8:16 was really scary dude 😂

  • @manjunathn3073
    @manjunathn3073 2 года назад

    Hi I have 5 tools to automate (start on boot ) using systemd like tool1.sh tool2.sh similarly i writen 5 start up scripts and running tools.service in oneshot mode first time it's worked then it's telling ignoring ,unit not found can you suggest the solution and where can I place the .sh files and . service file and also what are the permissions needed

  • @noelmasong9223
    @noelmasong9223 4 года назад +1

    Howdy Dave, just a question about your tutorial in Udemy, are you going to update it for Ubuntu 18.04 anytime soon? Planning to take it that course as i want a real hands on experience in Linux. It will serve as a preparation for my DevOps journey from NOC engineer.

    • @tutoriaLinux
      @tutoriaLinux  4 года назад +3

      Hi Noel, it's currently updated for 18.04 and I'll be updating it to 20.04 over the next few weekends. The changes should be extremely minor, though!

    • @noelmasong9223
      @noelmasong9223 4 года назад

      @@tutoriaLinux that is so cool.. I'll definitely going to purchase it and start learning. Thanks Dave. keep safe.

  • @kamurashev
    @kamurashev 3 года назад

    Great stuff dude!

  • @AlexisPrichinenko
    @AlexisPrichinenko Год назад

    I laughed my #$%^& out with the speede voice, but in al seriousness great video touching an important topic for sysadmins (or on developing to become one)

  • @Hey-tw3xy
    @Hey-tw3xy 3 года назад

    Hello sir, Can you make a video on how to start tkinter or GUI like application using Systemd service.

  • @seyiadejori8394
    @seyiadejori8394 2 года назад

    Did this and got a 500 internal service error why?

  • @georgiosdoumas2446
    @georgiosdoumas2446 4 года назад

    On Friday (22 May 2020) I created a service Unit for an ssh tunnel command that we want to start (ssh -L .......) on a server after a reboot. So we had also a passphrase (that was typed manually , be the person who would come in the morning, a few hours after the reboot , triggered at 06:30 by apt automatic updates, in case a new kernel was downloaded) , and I had searched some months ago in ssh documentation/internet to find a way to put that passphrase in a file and have it parsed, but could not understand if there was a way to do it. I have stopped the attempts at that point, but on Friday I persuaded my team-leader to get rid of the passphrase. Now after seeing that video, I suspect that maybe that file EnvironmentFile= may be a good place to have put that passphrase (unencrypted)
    But I am still not sure how I could make the ExecStart=ssh ......... command to read the contents of the file.

  • @thanhavictus
    @thanhavictus 4 года назад

    So what's the point of running a background program through a virtual machine rather than run it on the main machine?

    • @tutoriaLinux
      @tutoriaLinux  4 года назад +1

      Oh, I'm just doing it on a VM because that's my 'demo' environment. You would usually run something like this on a server in a datacenter (or an instance on one of the public clouds).

  • @OogaMaga
    @OogaMaga 4 года назад

    Thank for a very informative video.

  • @justinmalone289
    @justinmalone289 3 года назад

    the timing of that music around 5:30 threw me off, i had to hit pause just to make sure that something else on my computer didn't start playing.

  • @TheGruselmops
    @TheGruselmops 4 года назад

    Sweet!

  • @ethandegny1328
    @ethandegny1328 4 года назад

    nice

  • @georgesmith3022
    @georgesmith3022 4 года назад

    plz use bigger fonts

  • @manjunathn3073
    @manjunathn3073 2 года назад

    Hi I have 5 tools to automate (start on boot ) using systemd like tool1.sh tool2.sh similarly i writen 5 start up scripts and running tools.service in oneshot mode first time it's worked then it's telling ignoring ,unit not found can you suggest the solution and where can I place the .sh files and . service file and also what are the permissions needed