I create symlink in
ln -s /myservice.jar /etc/init.d/myservice.
After reboot system symlink is replaced with regular file.
ls -l /etc/init.d/myservice output before reboot:
lrwxrwxrwx 1 root root 30 Mar 31 12:34 /etc/init.d/myservice -> /myservice.jar
-rwxrwxrwx 1 root root 41912304 Mar 31 12:40 /etc/init.d/myservice.jar
Why is this happening?
upd. On the server is used ISPmanager, can this be a problem?