Skip to content

Commit

Permalink
rockstor#518 - Added shellinaboxd service to Rockstor available services
Browse files Browse the repository at this point in the history
  • Loading branch information
MFlyer committed Jul 7, 2016
1 parent eaac918 commit 5080e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rockstor/scripts/prep_db.py
Expand Up @@ -37,6 +37,7 @@ def register_services():
'NUT-UPS': 'nut',
'ZTaskd': 'ztask-daemon',
'Bootstrap': 'rockstor-bootstrap',
'Shell In A Box': 'shellinaboxd',
'Rockstor': 'rockstor',}

for k,v in services.items():
Expand Down
2 changes: 1 addition & 1 deletion src/rockstor/system/services.py
Expand Up @@ -48,7 +48,7 @@ def init_service_op(service_name, command, throw=True):
"""
supported_services = ('nfs', 'smb', 'sshd', 'ypbind', 'rpcbind', 'ntpd',
'nslcd', 'netatalk', 'snmpd', 'docker', 'smartd',
'nut-server', 'rockstor-bootstrap', 'rockstor')
'shellinaboxd', 'nut-server', 'rockstor-bootstrap', 'rockstor')
if (service_name not in supported_services):
raise Exception('unknown service: %s' % service_name)

Expand Down

0 comments on commit 5080e8f

Please sign in to comment.