31 lines
692 B
Desktop File
31 lines
692 B
Desktop File
##########################################################################
|
|
# lgregmapper systemd service file
|
|
##########################################################################
|
|
|
|
[Unit]
|
|
Description=Looking Glass Registry Mapper
|
|
After=network.target
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
[Service]
|
|
User=lglass
|
|
Group=lglass
|
|
Type=simple
|
|
Restart=on-failure
|
|
# service hardening
|
|
ProtectSystem=strict
|
|
NoNewPrivileges=yes
|
|
ProtectControlGroups=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
DevicePolicy=closed
|
|
MemoryDenyWriteExecute=yes
|
|
ProtectHome=true
|
|
#
|
|
ExecStart=/opt/lgregmapper/lgregmapper -b ":11211"
|
|
|
|
#########################################################################
|
|
# end of file
|