New answers tagged daemon
I solved the problem: a) Create a file crawler.service in /etc/systemd/system with this code: [Unit] Description=Crawler cache Service After=network.target [Service] User=root Restart=always Type=forking ExecStart=/var/www/execute.sh [Install] WantedBy=multi-user.targe my bash file contains a diferent executations on paralel to the same php file with ...
The init system for 14.04 is upstart. The init system for 16.04 is systemd. You should convert your upstart script to a systemd unit file. There are plenty of other resources available too.
Top 50 recent answers are included