I'm trying to create a systemctl service that would start a ruby on rails application on server reboot
the following command in a run.sh file
#!/bin/sh
service httpd stop
rails s -p 80 -d
works on the command line. However when systemctl
attempts it I get the subject error. What is the cause of such error and what can I do to stop it?
Aucun commentaire:
Enregistrer un commentaire