You can use the Fileshare Server so that it runs as a Windows service, using the following commands:
fsservice -i [service-name [configuration-options] ]
fsservice -u [service-name]
fsservice -v [service-name]
Where:
- -i
- Install the service.
- -v
- Display the status of the service.
- -u
- Uninstall the service.
- service-name
- A unique name for the service. The service is called "Micro Focus Fileshare Service:name", where
:name is included only if a name is specified.
service-name is optional unless you specify
configuration-options, in which case it is mandatory.
- configuration-options
- Options used to start the Fileshare service. See
Fileshare Server Configuration
.
To start the Fileshare service as a background process and to stop it:
- Make sure the License Manager service is started.
- Click
Control Panel >
Services.
- Select
Micro Focus Fileshare Service[:
service-name] from the list of displayed services.
- Click
Start or
Stop as appropriate.
You can also choose to start the service automatically whenever Windows starts.
Notes:
- When you stop the service from the Services window, as above, Fileshare closes down as normal. Any connected Fileshare clients
are logged off and their data files closed (with any incomplete transactions rolled back).
- When you shut down Windows, Fileshare is similarly shut down.
- If you choose it to start the service automatically and you have logging switched on for any data files, we recommend that
you specify a Fileshare backup directory in your database reference file.
For example, the following command installs a service called "Micro Focus Fileshare Service: My Service", which will execute
in the
c:\mydir directory and use a Fileshare server name of myserver:
fsservice -i "My Service" /wd c:\mydir /s myserver