Beiträge von dr_nero

    Thank you all!


    @ryecoaaron: I've created/lib/systemd/system/COPS.service


    However, my machine runs OMV 2: perhaps that's why
    systemctl enable COPS.service
    returns
    -bash: systemctl: command not found


    I can put your script in /etc/init.d/ folder, and then automate it with update-rc.d?


    I've read something similar in Debian documentation...


    In the meantime, I try the solution proposed by @macom

    Hello everyone!


    Thanks in advance for the help, and sorry for my approximate english.


    In my OMV 2 machine, I have installed COPS server (http://blog.slucas.fr/en/oss/calibre-opds-php-server).
    This php server starts with a command like this:
    php -S 192.168.1.96:8080


    Everything works wonderfully, but I have to run manually the php server, every time, giving the command in a terminal window via ssh.


    How can I start the php server at boot of my OMV machine, and run it in background, continuously & all the time?


    I'm inexperienced in scripting and similar things, so I would like to ask for help...


    Thank you very much!
    Federico