open5gs/configs/systemd/open5gs-upfd.service.in
2020-08-21 23:33:45 -04:00

20 lines
342 B
SYSTEMD

[Unit]
Description=Open5GS UPF Daemon
After=networking.service
Requires=systemd-networkd.service
[Service]
Type=simple
User=open5gs
Group=open5gs
Restart=always
ExecStart=@bindir@/open5gs-upfd -c @sysconfdir@/open5gs/upf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target