service configuration files that needs to be saved just incase the server got lost someday by the cloud provider.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

21 rinda
566B

  1. [Unit]
  2. Description=rpn supertraderfx payment gateway Service
  3. Documentation=man:fail2ban(1)
  4. After=network.target firewalld.service
  5. PartOf=firewalld.service
  6. [Service]
  7. Type=simple
  8. WorkingDirectory=/home/rpn/go
  9. ExecStartPre=/bin/mkdir -p /home/rpn/go/logs
  10. ExecStart=/home/rpn/go/rpn
  11. # if should be logged in systemd journal, use following line or set logtarget to sysout in fail2ban.local
  12. # ExecStart=/usr/bin/fail2ban-server -xf --logtarget=sysout start
  13. PIDFile=/var/run/rpn.pid
  14. Restart=on-failure
  15. RestartPreventExitStatus=0 255
  16. [Install]
  17. WantedBy=multi-user.target