feat: create glauth module
- manage config directories, config file - manage systemd service and socket - manage users, service accounts and groups - manage defaults for users, services and groups - manage packages for role
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=GLAuth Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=<%= $user %>
|
||||
Group=<%= $group %>
|
||||
ExecStart=<%= $bin_path %> -c <%= $config_path %>
|
||||
Restart=always
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Also=<%= $service_name %>.socket
|
||||
Reference in New Issue
Block a user