You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't it be better to assign the value of the name variable manually instead of receiving the name of the script???. Because in Ubuntu the first time the script is runned by the system it appends the prefix S/Kxx to the pid file, causing commands start, stop and status to fail, it took me a while to figure out what was going on with the script.
name=basename $0
name="appname"
Thanks for your template, it is such a help for newbies. (y)
The text was updated successfully, but these errors were encountered:
Shouldn't it be better to assign the value of the name variable manually instead of receiving the name of the script???. Because in Ubuntu the first time the script is runned by the system it appends the prefix S/Kxx to the pid file, causing commands start, stop and status to fail, it took me a while to figure out what was going on with the script.
name=
basename $0
name="appname"
Thanks for your template, it is such a help for newbies. (y)
The text was updated successfully, but these errors were encountered: