1
0

gobot.service.sample 425 B

1234567891011121314151617
  1. [Unit]
  2. Description=GoBot
  3. After=syslog.target
  4. After=network.target
  5. After=mariadb.service mysqld.service postgresql.service memcached.service redis.service nginx.service
  6. [Service]
  7. Type=simple
  8. User=bot
  9. Group=client6
  10. WorkingDirectory=/path/to/your/working/directory
  11. ExecStart=/path/to/directory/where/gobot/binary/is
  12. Restart=always
  13. Environment=USER=bot HOME=/path/to/your/working/directory
  14. [Install]
  15. WantedBy=multi-user.target