Add service to FreeNAS UI

Status
Not open for further replies.

majerus

Contributor
Joined
Dec 21, 2012
Messages
126
If I wanted to add a service to the service tab in FreeNAS ui, where would this be done at? I figured I would just clone whatever handler script that is being called for the other services and make a custom one.

Thanks!
 
Last edited by a moderator:

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
This isn't possible without cloning the FreeNAS source, patching in your service and building your own ISO.
 

majerus

Contributor
Joined
Dec 21, 2012
Messages
126
Hum, that blows I honestly wanted to add control for Iperf to start with. Ill screw around and see if I can figure something out. It seems to me that I should be able to modify /usr/local/www/freenasUI/static/lib/js/freeadmin/Services.js and some various other files and get it added though.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Hum, that blows I honestly wanted to add control for Iperf to start with. Ill screw around and see if I can figure something out. It seems to me that I should be able to modify /usr/local/www/freenasUI/static/lib/js/freeadmin/Services.js and some various other files and get it added though.
Any changes you make to system files will be blown away with the next update. If you want a service to be running all the time, you'd need to create a jail and have it run there.
 

majerus

Contributor
Joined
Dec 21, 2012
Messages
126
Thats fine, honestly if I need to recreate the item and the what ever is needed to be called every upgrade I am cool with that. Really maybe I would have more luck in the development section? Really I am looking to control a service thats already installed but though the UI.
 
Status
Not open for further replies.
Top