chore: initialize go-sip repository
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=SIP Go Agent (physical host)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=rogee
|
||||
Group=rogee
|
||||
WorkingDirectory=/opt/sip-go-agent/current
|
||||
EnvironmentFile=/etc/sip-go-agent/agent.env
|
||||
ExecStart=/opt/sip-go-agent/current/sip-go-agent agent
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
UMask=0077
|
||||
LimitNOFILE=65536
|
||||
ReadWritePaths=/var/lib/sip-go-agent/agent
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,24 @@
|
||||
[Unit]
|
||||
Description=SIP Go Dispatcher (physical host)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=rogee
|
||||
Group=rogee
|
||||
WorkingDirectory=/opt/sip-go-agent/current
|
||||
EnvironmentFile=/etc/sip-go-agent/dispatcher.env
|
||||
ExecStart=/opt/sip-go-agent/current/sip-go-agent dispatcher
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=yes
|
||||
UMask=0077
|
||||
LimitNOFILE=65536
|
||||
ReadWritePaths=/var/lib/sip-go-agent/dispatcher
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user