Initial LisgloSIPS V2 implementation
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
[Unit]
|
||||
Description=LisgloSIPS local Redis AUTH proxy for OpenSIPS
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=opensips
|
||||
Group=opensips
|
||||
LoadCredentialEncrypted=redis_password:/etc/credstore.encrypted/lisglosips-redis-password.cred
|
||||
Environment=LISTEN_HOST=127.0.0.1
|
||||
Environment=LISTEN_PORT=6380
|
||||
Environment=REDIS_HOST=100.90.90.91
|
||||
Environment=REDIS_PORT=6379
|
||||
Environment=REDIS_USER=lisglosips
|
||||
ExecStart=/usr/local/sbin/lisglosips-redis-auth-proxy
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/run
|
||||
RestrictSUIDSGID=true
|
||||
LockPersonality=true
|
||||
CapabilityBoundingSet=
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
IPAddressDeny=any
|
||||
IPAddressAllow=127.0.0.0/8
|
||||
IPAddressAllow=100.90.90.91/32
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user