File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,21 @@ Description=SMP server
55User =smp
66Group =smp
77Type =simple
8+
89ExecStart =/usr/local/bin/smp-server start +RTS -N -RTS
910ExecStopPost =/usr/local/bin/simplex-servers-stopscript smp-server
11+
1012LimitNOFILE =65535
1113KillSignal =SIGINT
14+
1215TimeoutStartSec =infinity
1316TimeoutStopSec =infinity
17+
18+ Restart =on-failure
19+ RestartSec =10s
20+ StartLimitBurst =3
21+ StartLimitInterval =60s
22+
1423AmbientCapabilities =CAP_NET_BIND_SERVICE
1524
1625[Install]
Original file line number Diff line number Diff line change @@ -5,12 +5,21 @@ Description=XFTP server
55User =xftp
66Group =xftp
77Type =simple
8+
89ExecStart =/usr/local/bin/xftp-server start +RTS -N -RTS
910ExecStopPost =/usr/local/bin/simplex-servers-stopscript xftp-server
11+
1012LimitNOFILE =65535
1113KillSignal =SIGINT
14+
1215TimeoutStartSec =infinity
1316TimeoutStopSec =infinity
17+
18+ Restart =on-failure
19+ RestartSec =10s
20+ StartLimitBurst =3
21+ StartLimitInterval =60s
22+
1423AmbientCapabilities =CAP_NET_BIND_SERVICE
1524
1625[Install]
You can’t perform that action at this time.
0 commit comments