[Unit] Description=GoBot After=syslog.target After=network.target After=mariadb.service mysqld.service postgresql.service memcached.service redis.service nginx.service [Service] Type=simple User=bot Group=client6 WorkingDirectory=/path/to/your/working/directory ExecStart=/path/to/directory/where/gobot/binary/is Restart=always Environment=USER=bot HOME=/path/to/your/working/directory [Install] WantedBy=multi-user.target