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