service script, problems with enabling it

  • Hi there,


    I wrote a small service file that I would like to activate, but unfortunately I get a error every time.


    Failed to enable unit: File telerising.service: Invalid argument


    here is my service file:


    Code
    [Unit]
    Wants=network-online.target
    After=network-online.target nss-lookup.target
    [Service]
    Type:simple
    WorkingDirectory= /zattoo_api_m3u/telerising/
    ExecStart= /zattoo_api_m3u/telerising/api & disown
    Restart=always
    [Install]
    WantedBy=multi-user.target



    perhaps someone find the error or problem?!




    THX

  • pimp1310

    Changed the title of the thread from “service script problems with enabling it” to “service script, problems with enabling it”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!