Update guardctrl authored by Jameson Rollins's avatar Jameson Rollins
...@@ -44,6 +44,9 @@ Description=Advanced LIGO Guardian target ...@@ -44,6 +44,9 @@ Description=Advanced LIGO Guardian target
[Install] [Install]
WantedBy=default.target WantedBy=default.target
```
Inform the user's systemd session about the changes, and enable the guardian target for startup on boot:
```shell
$ systemctl --user daemon-reload $ systemctl --user daemon-reload
$ systemctl --user enable guardian.target $ systemctl --user enable guardian.target
``` ```
...@@ -85,7 +88,6 @@ User=nobody ...@@ -85,7 +88,6 @@ User=nobody
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
#
``` ```
### configure journald for persistent logs ### configure journald for persistent logs
...@@ -98,8 +100,8 @@ Storage=persistent ...@@ -98,8 +100,8 @@ Storage=persistent
RateLimitBurst=100000 RateLimitBurst=100000
SystemMaxUse=200G SystemMaxUse=200G
SystemMaxFiles=100000 SystemMaxFiles=100000
``` ```
Reload the journald config after these changes are made:
```shell ```shell
$ sudo systemctl force-reload systemd-journald $ sudo systemctl force-reload systemd-journald
``` ```
... ...
......