open5gs/configs/systemd/open5gs-scpd.service.in

19 lines
320 B
SYSTEMD

[Unit]
Description=Open5GS SCP Daemon
Wants=mongodb.service mongod.service
[Service]
Type=simple
User=open5gs
Group=open5gs
Restart=always
ExecStart=@bindir@/open5gs-scpd -c @sysconfdir@/open5gs/scp.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target