I have a run sript under ress directory:
#!/bin/sh exec python gmail_new15.py
And when I try to execute svc I get:
~# svc -du ress/ svc: warning: unable to control ress/: file does not exist
My goal is to control if the python script crashes and restart it.
~# ls ress/ run ~# cat ress/run #!/bin/sh exec python gmail_new15.py