Giving script permission to start itself

I’m currently having an issue with my script. For it to sync across my server, I have to restart the script.
It’s a hose script, so a script that changes the foam out of the fire-extinguisher to water. Everything is working.
So how do I give the script hose acces to the restart command?
I’ve tried

add_ace resource.hose command.restart allow

and

add_ace resource.hose command allow

and they both didn’t seem to work.
Anyone any idea? Thanks in advance