You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,20 +20,18 @@ The logfile of what was setup for running, as well as other messages, is
20
20
or `livereduce.log` in the current working directory (if run from the
21
21
command line).
22
22
23
-
If run from inside `systemd`, use the standard commands for starting and stopping it.
23
+
If run from inside `systemctl`, use the standard commands for starting and stopping it.
24
24
```shell
25
-
sudo service livereduce start
26
-
sudo service livereduce stop
27
-
sudo service livereduce restart
25
+
sudo systemctl start livereduce
26
+
sudo systemctl stop livereduce
27
+
sudo systemctl restart livereduce
28
28
```
29
29
The status of the service can be found via
30
30
```shell
31
-
sudo service livereduce status -l -n 25
31
+
sudo systemctl status livereduce status
32
32
```
33
-
to see the last 25 lines (`-n 25`) mantid wrote to `stdout` with the full
34
-
information for each line (`-l`). People with extra permissions can run
35
-
``sudo journalctl -u livereduce -f`` and see all of the logs without them
36
-
flushing on restart of the service.
33
+
the logs are stored in `/var/log/SNS_applications/livereduce.log` and are readable by anyone.
34
+
People with extra permissions can run ``sudo journalctl -u livereduce -f`` and see all of the logs without them flushing on restart of the service.
37
35
38
36
If the instrument is not defined in the configuration file (default is `/etc/livereduce.conf`) the software will ask mantid for the default instrument using `mantid.kerel.ConfigService.getInstrument()` ([docs](https://docs.mantidproject.org/nightly/api/python/mantid/kernel/ConfigServiceImpl.html#mantid.kernel.ConfigServiceImpl.getInstrument)).
39
37
The default instrument is controlled in the [mantid properties files](https://docs.mantidproject.org/nightly/concepts/PropertiesFile.html) and is typically defined in `/etc/mantid.local.properties`.
0 commit comments