Systemd setup for glauth and config refresher
Prerequisites:
- Ensure wget is installed to a target machine as refreshing script uses it;
- Install glauth binary to
/usr/bin/glauth
upon staring glauth service, e.g. glauth v2.3.0.
Refresher service
Copy the files from this repository to a corresponding paths on the target host:
1 2 3 4 5 |
|
Update systemd daemon configs and start and enabled the service:
1 2 3 |
|
After some time, you should be able to check the prepared config file in /etc/glauth/config.cfg
Glauth service
Ensure glauth binary is installed in /usr/bin/glauth
and perform the same steps for the glauth service:
1 2 3 4 |
|