[Unit] # Set this to something specific for this bot Description="CircleBot Instance" [Service] ExecStart=/usr/bin/npm start # Set this to the bot's top level directory WorkingDirectory=/opt/bots/CircleBot Restart=always RestartSec=10 StandardOutput=journal StandardError=journal # Set this to something specific for this bot SyslogIdentifier=CircleBot # Set these to the appropriate owner of the bot folders User=botuser Group=botuser [Install] WantedBy=multi-user.target